/* Registration page specific styles */
.blink-btn {
    animation: blink-warning 1.2s linear infinite;
}
@keyframes blink-warning {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); }
    50% { box-shadow: 0 0 12px 4px rgba(255, 193, 7, 0.9); }
}
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}
.field-error {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    min-height: 1.1rem;
    display: none;
}
.field-error.show {
    display: block;
}
.swal2-popup-custom-success {
    background: #f3fbf3 !important;
    border: 1px solid #b6dfb6 !important;
    color: #1d4f1d !important;
}
.swal2-popup-custom-error {
    background: #fff5f5 !important;
    border: 1px solid #f5c2c7 !important;
    color: #842029 !important;
}
.swal2-title {
    font-size: 1.25rem !important;
    margin-bottom: 0.4rem !important;
}
.swal2-html-container {
    color: inherit !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
}
.swal2-popup {
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14) !important;
}
.swal2-icon {
    display: none !important;
}
@media (max-width: 767px) {
    .registration-container,
    .main-container {
        padding: 20px 16px;
        margin: 12px auto;
    }
    .header-section {
        padding: 18px 16px;
        margin-bottom: 22px;
    }
    .header-section h1 {
        font-size: 1.85rem;
    }
    .header-section h4 {
        font-size: 1.05rem;
    }
    .info-section {
        padding: 14px 16px;
    }
    .form-control,
    .form-select {
        font-size: 1rem;
        padding: 0.95rem 1rem;
    }
    .form-label {
        font-size: 0.97rem;
    }
    .btn-primary,
    .btn-outline-warning,
    .btn-light,
    .btn-secondary {
        width: 100%;
        display: block;
        padding: 14px 18px;
        margin-bottom: 0.75rem;
    }
    .registration-container .row > [class*="col-"] {
        margin-bottom: 1rem;
    }
    .qr-code-container {
        margin: 1.2rem 0;
    }
    .qr-code-container img {
        max-width: 100%;
        width: auto;
    }
    .field-error {
        font-size: 0.88rem;
    }
}

/* Header background logo styling */
.header-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/_RADIO/registrace_pred_20_rocnik/registrace/images/logo_pe33.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    opacity: 0.15;
    z-index: 1;
}

.header-section-content {
    position: relative;
    z-index: 2;
    padding: 6px 10px;
}

/* Submit status indicator */
.submit-status-hidden {
    display: none;
}

.submit-status-visible {
    display: block;
}

/* Cookie & GDPR banner */
.cookie-gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #222;
    color: #fff;
    padding: 16px 8px;
    z-index: 9999;
    text-align: center;
    font-size: 1em;
    display: none;
}

.cookie-gdpr-banner.visible {
    display: block;
}

.cookie-gdpr-banner a {
    color: #ffc107;
    text-decoration: underline;
}

.cookie-gdpr-banner button {
    margin-left: 16px;
}

/* Success summary table styling */
.summary-th {
    font-weight: 600;
    width: 35%;
    padding: 0.5rem;
}

.summary-td {
    padding: 0.5rem;
}

/* Registration list link styling */
.registration-list-link span {
    color: #111;
    font-weight: bold;
}

/* Icon size adjustment */
.icon-secondary {
    font-size: 1.2em;
}
