/* ============================================
   APP-LEVEL OVERRIDES
   ============================================ */

.alert {
    margin-top: 10px;
    margin-bottom: 0px;
}

.form-group {
    margin-bottom: 0.5rem;
}

/* ============================================
   ENTRY PAGE STYLES
   ============================================ */

/* --- Hero Section --- */
.entry-hero {
    background: #0a0a0f;
    padding: 60px 0 40px;
    text-align: center;
}

.entry-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #393f4d;
    border-radius: 20px;
    padding: 8px 20px;
    color: #f0f0f8;
    font-family: "aptos", sans-serif;
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.entry-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
    display: inline-block;
}

.entry-title {
    font-family: "aptos", sans-serif;
    font-weight: 800;
    font-size: 2.8rem;
    line-height: 1.15;
    color: #f0f0f8;
    margin-bottom: 16px;
}

.entry-subtitle {
    font-family: "aptos", sans-serif;
    font-weight: 400;
    color: #8888a0;
    font-size: 0.92rem;
    max-width: 440px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

/* --- Toggle Buttons --- */
.entry-toggle {
    display: inline-flex;
    gap: 4px;
    background: #14141f;
    padding: 6px;
    border-radius: 12px;
    border: 1px solid #252535;
    margin-bottom: 30px;
}

.btn-entry-toggle {
    display: inline-block;
    background: transparent;
    color: #f0f0f8;
    border: none;
    cursor: pointer;
    padding: 15px 35px;
    min-width: 160px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    line-height: 1.2;
    font-family: "aptos", sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    text-align: center;
    border-radius: 8px !important;
}

.btn-entry-toggle:first-child {
    border-radius: 8px !important;
}

.btn-entry-toggle:last-child {
    border-radius: 8px !important;
}

.btn-entry-toggle:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.btn-entry-toggle small {
    display: block;
    width: fit-content;
    margin: 6px auto 0;
    font-weight: 600;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2px 10px;
    opacity: 0.9;
}

.btn-entry-classic-active,
.btn-entry-classic-active:hover {
    background: #6c63ff !important;
    color: #fff !important;
}

.btn-entry-junior-active,
.btn-entry-junior-active:hover {
    background: linear-gradient(135deg, #ff6b2b, #e84393) !important;
    color: #fff !important;
}

/* --- Form Area --- */
.entry-form-area {
    padding: 0 0 40px;
    min-height: 50vh;
}

.entry-form-area.entry-classic {
    background: #0a0a0f;
}

.entry-form-area.entry-junior {
    background: linear-gradient(
        180deg,
        #0a0a0f 0%,
        #281208 10%,
        #3d1c0e 35%,
        #3d1c0e 55%,
        #281208 80%,
        #0a0a0f 100%
    );
}

/* --- Cards --- */
.entry-card {
    border-radius: 18px;
    padding: 28px 32px;
    margin-bottom: 24px;
}

.entry-classic .entry-card {
    background: #0e0e18;
    border: 1px solid #252535;
}

.entry-junior .entry-card {
    background: #fdf6ee;
    border: 1px solid #e8d5c0;
}

/* --- Card Header --- */
.entry-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.entry-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.entry-classic .entry-card-icon {
    background: rgba(108, 99, 255, 0.15);
    color: #6c63ff;
}

.entry-junior .entry-card-icon {
    background: rgba(255, 107, 43, 0.15);
    color: #ff6b2b;
}

.entry-card-title {
    font-family: "aptos", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.3;
}

.entry-classic .entry-card-title {
    color: #f0f0f8;
}

.entry-junior .entry-card-title {
    color: #1a1a26;
}

.entry-card-desc {
    font-family: "aptos", sans-serif;
    font-weight: 400;
    font-size: 0.82rem;
    margin: 2px 0 0;
    line-height: 1.4;
}



.entry-classic .entry-card-desc {
    color: #8888a0;
}

.entry-junior .entry-card-desc {
    color: #888;
}

/* --- Required Note & Separator --- */
.entry-required-note {
    font-family: "aptos", sans-serif;
    font-size: 0.8rem;
    margin: 0 0 16px;
}

.entry-classic .entry-required-note {
    color: #8888a0;
}

.entry-junior .entry-required-note {
    color: #888;
}

.entry-card-sep {
    border: 0;
    margin: 0 0 20px;
}

.entry-classic .entry-card-sep {
    border-top: 2px solid #252535;
}

.entry-junior .entry-card-sep {
    border-top: 2px solid #e8d5c0;
}

/* --- Labels --- */
.entry-label {
    display: block;
    font-family: "aptos", sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    margin-bottom: 6px;
}

.entry-classic .entry-label {
    color: #7575dd;
}

.entry-junior .entry-label {
    color: #c0600a;
}

/* --- Fields --- */
.entry-field {
    margin-bottom: 16px;
}

/* --- Inputs (text, email, tel, select, textarea) --- */
.entry-input {
    width: 100%;
    font-family: "aptos", sans-serif;
    font-weight: 400;
    font-size: 0.88rem;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    height: auto !important;
}

/* Classic theme inputs */
.entry-classic .entry-input {
    background-color: #14141f !important;
    border: 1px solid #252535 !important;
    color: #f0f0f8 !important;
}

.entry-classic .entry-input::placeholder {
    color: #555566;
}

.entry-classic .entry-input:focus {
    border-color: #6c63ff !important;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15) !important;
    outline: none;
    background-color: #14141f !important;
    color: #f0f0f8 !important;
}

/* Junior theme inputs */
.entry-junior .entry-input {
    background-color: #ffffff !important;
    border: 1px solid #d4c4b0 !important;
    color: #333 !important;
}

.entry-junior .entry-input::placeholder {
    color: #aaa;
}

.entry-junior .entry-input:focus {
    border-color: #ff6b2b !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 43, 0.15) !important;
    outline: none;
    background-color: #ffffff !important;
}

/* Select dropdown arrow */
.entry-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    padding-right: 38px !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px !important;
    cursor: pointer;
}

.entry-classic .entry-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%236c63ff' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
}

.entry-junior .entry-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23ff6b2b' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
}

/* Textarea */
.entry-textarea {
    min-height: 120px;
    resize: vertical;
}

/* --- Upload Area --- */
.entry-upload-area {
    border: 2px dashed;
    border-radius: 12px;
    padding: 40px 20px 20px;
    text-align: center;
    transition:
        border-color 0.2s,
        background 0.2s;
    position: relative;
}

.entry-classic .entry-upload-area {
    border-color: #6c63ff;
    background: rgba(108, 99, 255, 0.04);
}

.entry-classic .entry-upload-area.dragging {
    border-color: #9d97ff;
    background: rgba(108, 99, 255, 0.1);
}

.entry-junior .entry-upload-area {
    border-color: #ff6b2b;
    background: rgba(255, 107, 43, 0.04);
}

.entry-junior .entry-upload-area.dragging {
    border-color: #ff8f5e;
    background: rgba(255, 107, 43, 0.1);
}

.entry-upload-area .upload-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.entry-classic .upload-icon {
    color: #6c63ff;
}
.entry-junior .upload-icon {
    color: #ff6b2b;
}

.entry-upload-area .upload-text {
    font-family: "aptos", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.entry-classic .upload-text {
    color: #f0f0f8;
}
.entry-junior .upload-text {
    color: #333;
}

.entry-upload-area .upload-or {
    font-family: "aptos", sans-serif;
    font-size: 0.82rem;
    margin-bottom: 16px;
}

.entry-classic .upload-or {
    color: #8888a0;
}
.entry-junior .upload-or {
    color: #888;
}

.btn-entry-upload {
    position: relative;
    overflow: hidden;
    display: inline-block;
    border-radius: 8px;
    padding: 10px 24px;
    font-family: "aptos", sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    color: #fff;
}

.entry-classic .btn-entry-upload {
    background: #6c63ff;
}
.entry-classic .btn-entry-upload:hover {
    background: #5b52ee;
}
.entry-junior .btn-entry-upload {
    background: #ff6b2b;
}
.entry-junior .btn-entry-upload:hover {
    background: #e85a1a;
}

.btn-entry-upload input[type="file"] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    opacity: 0;
    cursor: pointer;
}

.entry-upload-sep {
    border: 0;
    margin: 20px 0 12px;
}

.entry-classic .entry-upload-sep {
    border-top: 1px solid rgba(108, 99, 255, 0.8);
}

.entry-junior .entry-upload-sep {
    border-top: 1px solid rgba(255, 107, 43, 0.8);
}

.entry-upload-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 0;
    font-family: "aptos", sans-serif;
    font-size: 0.78rem;
}

.entry-classic .entry-upload-specs {
    color: #8888a0;
}
.entry-junior .entry-upload-specs {
    color: #888;
}

.entry-upload-specs .fa-check {
    margin-right: 4px;
}

.entry-classic .entry-upload-specs .fa-check {
    color: #6c63ff;
}
.entry-junior .entry-upload-specs .fa-check {
    color: #ff6b2b;
}

/* --- File Items --- */
.entry-file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.entry-classic .entry-file-item {
    background-color: #14141f;
    border: 1px solid #252535;
}

.entry-junior .entry-file-item {
    background-color: #ffffff;
    border: 1px solid #d4c4b0;
}

.entry-file-name {
    flex: 1;
    font-family: "aptos", sans-serif;
    font-size: 0.85rem;
}

.entry-classic .entry-file-name {
    color: #f0f0f8;
}
.entry-junior .entry-file-name {
    color: #333;
}

.btn-entry-remove {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.82rem;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: "aptos", sans-serif;
}

.entry-classic .btn-entry-remove {
    color: #ff6b6b;
}
.entry-classic .btn-entry-remove:hover {
    background: rgba(255, 107, 107, 0.1);
}
.entry-junior .btn-entry-remove {
    color: #e74c3c;
}
.entry-junior .btn-entry-remove:hover {
    background: rgba(231, 76, 60, 0.1);
}

/* --- Submit Area --- */
.entry-submit-area {
    padding: 8px 0 20px;
}

.btn-entry-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 30px;
    padding: 14px 32px;
    font-family: "aptos", sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    color: #fff;
    transition: all 0.2s;
}

.entry-classic .btn-entry-submit {
    background: #6c63ff;
}
.entry-classic .btn-entry-submit:hover {
    background: #5b52ee;
}

.entry-junior .btn-entry-submit {
    background: linear-gradient(135deg, #ff6b2b, #e84393);
}
.entry-junior .btn-entry-submit:hover {
    opacity: 0.9;
}

/* --- Back Link --- */
.entry-back-link {
    display: inline-block;
    font-family: "aptos", sans-serif;
    font-size: 0.88rem;
    text-decoration: none;
}

.entry-classic .entry-back-link {
    color: #8888a0;
}
.entry-classic .entry-back-link:hover {
    color: #6c63ff;
}
.entry-junior .entry-back-link {
    color: #ccc;
}
.entry-junior .entry-back-link:hover {
    color: #ff6b2b;
}

/* --- Terms Link --- */
.entry-terms-link {
    font-family: "aptos", sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: #8888a0;
}

.entry-terms-link:hover {
    color: #cecfde;
}

/* --- Consent Checkbox (Junior) --- */
.entry-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
}

.entry-junior .entry-consent {
    background: rgba(255, 107, 43, 0.06);
    border: 1px solid #e8d5c0;
}

.entry-consent input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #ff6b2b;
    cursor: pointer;
}

.entry-consent-text {
    font-family: "aptos", sans-serif;
    font-size: 0.82rem;
    line-height: 1.6;
}

.entry-junior .entry-consent-text {
    color: #555;
}

/* --- Alerts in Entry Form --- */
.entry-card .alert-danger,
.entry-submit-area .alert-danger {
    font-size: 0.8rem;
    padding: 8px 12px;
    margin-top: 6px;
    margin-bottom: 0;
    border-radius: 6px;
}

.entry-submit-area .alert-danger,
.entry-submit-area .alert-success {
    margin-bottom: 12px;
}

/* reCAPTCHA container */
.entry-captcha {
    margin-bottom: 16px;
}

/* Progress bar */
.entry-progress {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
}

.entry-classic .entry-progress {
    background: #252535;
}
.entry-junior .entry-progress {
    background: #e8d5c0;
}

.entry-progress-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s;
}

.entry-classic .entry-progress-bar {
    background: #6c63ff;
}
.entry-junior .entry-progress-bar {
    background: #ff6b2b;
}


