/* ===========================
   Base / Typography
   =========================== */
html, body {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
}

.bg-minimal {
    background: #f5f7fa;
}

.container {
    max-width: 720px;
}

/* ===========================
   Header & Footer
   =========================== */
.header-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.header-brand .brand-logo img {
    width: 250px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo img {
    width: 150px;
}

/* ===========================
   Register - Event Info
   =========================== */
.event-info {
    margin-top: 10px;
}

.event-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
    line-height: 1.3;
}

.event-subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    font-weight: 400;
}

.event-details {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.event-detail-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #e2e5ea;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    color: #444;
}

.event-detail-item i {
    color: #4285f4;
    font-size: 14px;
}

.event-description {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 16px;
}

.event-instruction {
    font-size: 13px;
    font-weight: 500;
    color: #4285f4;
    margin-bottom: 6px;
}

/* ===========================
   Register - Form Container
   =========================== */
.register-container {
    background-color: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 36px 40px;
    border-radius: 14px;
    margin: 20px 0 40px;
}

.register-title {
    font-size: 24px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    margin-bottom: 10px;
}

.register-title--underline {
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

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

.register-desc {
    font-size: 14px;
    color: #757575;
    margin-bottom: 20px;
}

/* ===========================
   Form Elements
   =========================== */
.inputs label {
    font-family: "Roboto", sans-serif;
    color: #757575;
    margin-bottom: 2px;
    font-size: 14px;
}

.form-control, .form-select {
    font-size: 14px;
    color: #333;
    height: 44px;
    border-color: #d0d5dd;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.15);
    border-color: #4285f4;
}

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

textarea.form-control {
    height: auto;
}

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

.iti .iti__tel-input {
    height: 44px;
    border-radius: 8px;
}

.iti .iti__selected-dial-code {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    color: #333;
}

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

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

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

/* Validation errors */
.field-validation-error {
    margin-top: 3px;
    color: #f44336;
    font-size: 14px;
    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: #4285f4;
    border-color: #4285f4;
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.15);
    border-color: #4285f4;
}

.form-check-label--radio {
    color: #333;
}

.form-check-label--kvkk {
    font-size: 13px;
    color: #555;
}

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

.form-check-label--kvkk a:hover {
    color: #3367d6;
}

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

.kvkk-content strong {
    display: block;
    margin-top: 14px;
    margin-bottom: 4px;
    color: #333;
}

.kvkk-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

.kvkk-content ul {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    padding-left: 20px;
}

/* ===========================
   Buttons
   =========================== */
.btn.btn-primary {
    height: 44px;
    background-color: #4285f4;
    border-color: #4285f4;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn.btn-primary:hover {
    background-color: #3367d6;
    border-color: #3367d6;
}

/* Submit Button */
.btn-submit {
    height: 50px;
    background: linear-gradient(135deg, #4285f4 0%, #3367d6 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #3367d6 0%, #2850a8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.35);
    color: #fff;
}

.btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.25);
}

.btn-submit:disabled,
.btn-submit.disabled {
    background: linear-gradient(135deg, #4285f4 0%, #3367d6 100%);
    color: #fff;
    opacity: 0.85;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

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

/* ===========================
   Success Page
   =========================== */
.success-container {
    padding: 50px 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    margin-top: 60px;
}

.success-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #28a745 0%, #20c050 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

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

.success-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.success-greeting {
    font-size: 15px;
    color: #666;
    margin-bottom: 28px;
}

.success-greeting strong {
    color: #333;
}

.success-info-card {
    background: #f0f7ff;
    border: 1px solid #d6e8fa;
    border-radius: 10px;
    padding: 20px 24px;
    text-align: center;
}

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

.success-info-icon i {
    font-size: 28px;
    color: #4285f4;
}

.success-info-text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.success-actions {
    margin-top: 28px;
}

.success-actions .btn-outline-primary {
    border-color: #4285f4;
    color: #4285f4;
    border-radius: 8px;
    font-weight: 500;
    padding: 8px 24px;
    transition: all 0.2s ease;
}

.success-actions .btn-outline-primary:hover {
    background-color: #4285f4;
    border-color: #4285f4;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 576px) {
    .register-container {
        padding: 24px 20px;
        border-radius: 10px;
    }

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

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

    .event-details {
        flex-direction: column;
        align-items: center;
    }

    .header-brand .brand-logo img {
        width: 200px;
    }

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