/* ===========================
   Register Page
   =========================== */

/* ---- Page Wrapper ---- */
.register-page {
    background: #f8f9fb;
    min-height: 100vh;
    font-family: "Aleo", serif;
    color: #1a1a2e;
    font-size: 16px;
}

.register-page h1,
.register-page h2,
.register-page h3 {
    font-family: "Playfair Display", serif;
}

.register-page .container {
    max-width: 720px;
    padding-bottom: 40px;
}

/* ---- Brand Header ---- */
.register-brand {
    text-align: center;
    padding: 36px 0 28px;
}

.register-brand img {
    height: 42px;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.register-brand a:hover img {
    opacity: 1;
}

/* ---- Footer ---- */
.register-footer {
    text-align: center;
    padding: 36px 0 24px;
    border-top: 1px solid #eef0f4;
    margin-top: 48px;
}

.register-footer img {
    height: 24px;
    opacity: 0.5;
    margin-bottom: 12px;
}

.register-footer p {
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* ---- Event Info Header ---- */
.event-info {
    margin-bottom: 32px;
}

.event-title {
    font-family: "Playfair Display", serif;
    font-size: var(--fs-heading);
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
    line-height: 1.2;
}

.event-subtitle {
    font-family: "Roboto", sans-serif;
    font-size: var(--fs-small);
    color: #777;
    font-weight: 300;
    margin-bottom: 0;
}

/* ---- Form Container ---- */
.register-container {
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    padding: 44px 48px;
    border-radius: 16px;
    border: 1px solid #eef0f4;
}

.register-title {
    font-family: "Playfair Display", serif;
    font-size: var(--fs-subheading);
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.register-title--underline {
    text-decoration: none;
    position: relative;
    padding-bottom: 16px;
    margin-bottom: 28px;
}

.register-title--underline::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: #1a1a2e;
    border-radius: 2px;
}

/* ---- Form Elements ---- */
.inputs label {
    font-family: "Roboto", sans-serif;
    color: #555;
    margin-bottom: 4px;
    font-size: var(--fs-caption);
    font-weight: 500;
}

.form-control, .form-select {
    font-family: "Aleo", serif;
    font-size: var(--fs-caption);
    color: #1a1a2e;
    height: 48px;
    border-color: #d0d5dd;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 3px rgba(26,26,46,0.08);
    border-color: #1a1a2e;
}

.form-control.input-validation-error,
.form-select.input-validation-error {
    border-color: #e74c3c;
}

textarea.form-control {
    height: auto;
}

/* intl-tel-input */
.iti {
    width: 100%;
    z-index: 10;
}

.iti .iti__tel-input {
    height: 48px;
    border-radius: 10px;
    border-color: #d0d5dd;
    font-family: "Aleo", serif;
    font-size: var(--fs-caption);
    color: #1a1a2e;
}

.iti .iti__tel-input:focus {
    box-shadow: 0 0 0 3px rgba(26,26,46,0.08);
    border-color: #1a1a2e;
}

.iti .iti__selected-country {
    border-radius: 10px 0 0 10px;
    padding: 0 8px 0 12px;
}

.iti .iti__selected-dial-code {
    font-family: "Roboto", sans-serif;
    font-size: var(--fs-caption);
    color: #1a1a2e;
}

.iti .iti__arrow {
    border-top-color: #999;
    margin-left: 4px;
}

/* Country dropdown */
.iti--container {
    z-index: 1060;
}

.iti__dropdown-content {
    border: 1px solid #eef0f4;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    overflow: hidden;
    background: #fff;
    z-index: 1060;
}

.iti__search-input {
    font-family: "Roboto", sans-serif !important;
    font-size: var(--fs-caption) !important;
    color: #1a1a2e !important;
    border: none !important;
    border-bottom: 1px solid #eef0f4 !important;
    padding: 12px 14px 12px 36px !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    height: auto !important;
    background: #fff !important;
    width: 100% !important;
}

.iti__search-input:focus {
    border-bottom-color: #d0d5dd !important;
    box-shadow: none !important;
}

/* Search icon inside dropdown */
.iti .iti__search-input + .iti__search-icon,
.iti__search-icon {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #999;
}

.iti__country-list {
    font-family: "Roboto", sans-serif;
    font-size: var(--fs-caption);
    background: #fff;
    max-height: 220px;
}

.iti__country {
    padding: 8px 14px;
    transition: background 0.15s;
}

.iti__country:hover,
.iti__country--highlight {
    background: #f8f9fb;
}

.iti__country-name {
    color: #1a1a2e;
    font-weight: 400;
    font-size: 14px;
}

.iti__dial-code {
    color: #999;
    font-size: 13px;
}

.iti__flag-box {
    margin-right: 8px;
}

/* "No results" text */
.iti .iti__no-entries {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    color: #999;
    padding: 16px;
    text-align: center;
}

/* Input icons */
.input-icon-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
    pointer-events: none;
    z-index: 4;
}

.input-icon-wrapper .form-control {
    padding-left: 44px;
}

/* Validation errors */
.field-validation-error {
    margin-top: 4px;
    color: #e74c3c;
    font-family: "Roboto", sans-serif;
    font-size: var(--fs-tiny);
    font-weight: 400;
    animation: fadeInDown 0.25s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Radio & Checkbox */
.form-check-input:checked {
    background-color: #1a1a2e;
    border-color: #1a1a2e;
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(26,26,46,0.08);
    border-color: #1a1a2e;
}

.form-check-label--radio {
    font-family: "Aleo", serif;
    font-size: var(--fs-caption);
    color: #1a1a2e;
}

.form-check-label--kvkk {
    font-family: "Roboto", sans-serif;
    font-size: var(--fs-tiny);
    color: #777;
    line-height: 1.6;
}

.form-check-label--kvkk a {
    color: #1a1a2e;
    text-decoration: underline;
    font-weight: 500;
}

.form-check-label--kvkk a:hover {
    color: #2d2d4e;
}

/* KVKK Modal */
.kvkk-content h6 {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.kvkk-content strong {
    display: block;
    margin-top: 16px;
    margin-bottom: 6px;
    color: #1a1a2e;
    font-size: var(--fs-caption);
}

.kvkk-content p {
    font-size: var(--fs-caption);
    color: #555;
    line-height: 1.7;
}

.kvkk-content ul {
    font-size: var(--fs-caption);
    color: #555;
    line-height: 1.7;
    padding-left: 20px;
}

/* KVKK Modal Button */
.btn-close-modal {
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: "Roboto", sans-serif;
    font-size: var(--fs-caption);
    font-weight: 500;
    padding: 10px 28px;
    transition: all 0.2s;
}

.btn-close-modal:hover {
    background: #2d2d4e;
    color: #fff;
}

/* ---- Submit Button ---- */
.btn-submit {
    height: 52px;
    background: #1a1a2e;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-family: "Aleo", serif;
    font-size: var(--fs-body);
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
}

.btn-submit:hover {
    background: #2d2d4e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,26,46,0.25);
    color: #fff;
}

.btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(26,26,46,0.15);
}

.btn-submit:disabled,
.btn-submit.disabled {
    background: #1a1a2e;
    color: #fff;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

.btn-submit__loading {
    display: inline-flex;
    align-items: center;
}

/* ===========================
   Success Page
   =========================== */
.success-container {
    background: #fff;
    padding: 56px 48px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border-radius: 16px;
    border: 1px solid #eef0f4;
}

.success-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a2e, #2d2d4e);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(26,26,46,0.2);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-badge i {
    font-size: 32px;
    color: #fff;
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.success-title {
    font-family: "Playfair Display", serif;
    font-size: var(--fs-subheading);
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.success-greeting {
    font-family: "Roboto", sans-serif;
    font-size: var(--fs-small);
    color: #777;
    font-weight: 300;
    margin-bottom: 28px;
}

.success-greeting strong {
    color: #1a1a2e;
    font-weight: 500;
}

.success-info-card {
    background: #f8f9fb;
    border: 1px solid #eef0f4;
    border-radius: 12px;
    padding: 20px 24px;
    text-align: center;
    margin-bottom: 24px;
}

.success-info-icon {
    margin-bottom: 8px;
}

.success-info-icon i {
    font-size: 24px;
    color: #1a1a2e;
    opacity: 0.4;
}

.success-info-text {
    font-family: "Roboto", sans-serif;
    font-size: var(--fs-caption);
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Event summary items */
.success-event-summary {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #eef0f4;
    border-radius: 12px;
    overflow: hidden;
}

.success-event-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-family: "Roboto", sans-serif;
    font-size: var(--fs-caption);
    color: #555;
    border-bottom: 1px solid #eef0f4;
}

.success-event-item:last-child {
    border-bottom: none;
}

.success-event-item i {
    font-size: 16px;
    color: #1a1a2e;
    opacity: 0.4;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* Actions */
.success-actions {
    margin-top: 32px;
}

.btn-success-primary {
    display: inline-flex;
    align-items: center;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: "Aleo", serif;
    font-size: var(--fs-caption);
    font-weight: 600;
    padding: 12px 32px;
    transition: all 0.25s ease;
}

.btn-success-primary:hover {
    background: #2d2d4e;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,26,46,0.25);
}

.btn-success-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(26,26,46,0.15);
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 576px) {
    .register-brand {
        padding: 24px 0 20px;
    }

    .register-container {
        padding: 28px 24px;
        border-radius: 12px;
    }

    .event-title {
        font-size: 24px;
    }

    .event-subtitle {
        font-size: 14px;
    }

    .success-container {
        padding: 36px 20px;
    }

    .success-event-item {
        padding: 12px 16px;
        font-size: 13px;
    }

    .register-footer {
        margin-top: 32px;
    }
}
