/* static/css/contact.css */

.contact-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: var(--frame-color);
    border-radius: 4px;
}

.contact-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
    border-bottom: 1px solid #ffffff0d;
    padding-bottom: 10px;
}

.contact-description {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 0.85rem;
    line-height: 1.6;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-group input[type="file"] {
    font-size: .7rem;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #fff;
    font-size: 0.85rem;
}

.contact-form label span {
    font-size: 0.7rem;
    color: var(--gray);
    margin-left: 5px;
    font-weight: normal;
}


.contact-form .form-select,
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="date"],
.contact-form textarea {
    width: 100%;
    background: #242c38;
    box-shadow: inset 0 0 6px 2px #171a2070;
    border: none;
    padding: 10px;
    resize: none;
    font-size: .9rem;
    border-radius: 2px;
    transition: ease all .4s;
}

.contact-form .form-select:focus,
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: inset 0 0 6px 2px #4eaaeb8f;
}


.contact-form .form-select option {
    background: #1c1f25;
    color: #fff;
}

.submit-btn-wrapper {
    margin-top: 30px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #111;
    background: var(--rime);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    text-align: center;
    font-weight: 500;
    transition: ease all .4s;
}

.submit-btn:hover {
    opacity: .7;
}

.error-message {
    color: var(--red);
    font-size: 0.75rem;
    margin-top: 5px;
}

.contact-target-info {
    background: #242c38;
    padding: 15px;
    border-radius: 2px;
    margin-bottom: 25px;
    border-left: 3px solid var(--rime);
}

.target-label {
    font-size: 0.75rem;
    color: var(--rime);
    font-weight: bold;
    margin-bottom: 10px;
}

.target-content {
    display: flex;
    gap: 15px;
    align-items: center;
}

.target-img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.target-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.target-text h3 {
    font-size: 1rem;
    color: #fff;
    margin: 0;
}

.target-text p {
    font-size: 0.85rem;
    color: #e0e0e0;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.target-text small {
    font-size: 0.7rem;
    color: var(--gray);
}

.target-section {
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--rime);
    font-weight: bold;
}


.contact-form .readonly-select {
    background: #1c232d !important;
    color: var(--gray) !important;
    pointer-events: none;
    cursor: not-allowed;
    border-color: #ffffff0d !important;
}

@media screen and (max-width: 768px) {

    .contact-container {
        margin: 20px 10px;
        padding: 20px;
    }
}

/* Game Registration Form specific styles */
.checkbox-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.checkbox-list label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 400;
    color: #ccc;
    transition: all 0.2s;
    margin-bottom: 0;
}

.checkbox-list label:hover {
    background: rgba(255, 255, 255, 0.08);
}

.checkbox-list label:has(input:checked) {
    background: rgba(183, 214, 0, 0.12);
    border-color: rgba(183, 214, 0, 0.3);
    color: var(--rime);
}

.label-required {
    color: var(--red);
    font-size: 0.8rem;
    font-weight: normal;
}

.label-optional {
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: normal;
}

.other-input-wrapper {
    margin-top: 10px;
}

.other-input-wrapper input[type="text"] {
    font-size: 0.8rem;
    padding: 8px 10px;
}

.form-hint {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 5px;
    line-height: 1.4;
}
