/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #ff6b35;
    --primary-blue: #1e3a8a;
    --light-blue: #3b82f6;
    --white: #ffffff;
    --light-gray: #f3f4f6;
    --dark-gray: #1f2937;
    --text-gray: #6b7280;
    --success: #10b981;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eaf0 100%);
    color: var(--dark-gray);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-orange);
    border-bottom: 2px solid var(--primary-orange);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: 0.3s;
}

/* ===== PAGE SECTIONS ===== */
.page-section {
    display: none;
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.page-section.active {
    display: block;
}

.hero-section {
    text-align: center;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    border-radius: 15px;
    margin-bottom: 2rem;
}

.hero-section h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.hero-section p {
    font-size: 1rem;
    opacity: 0.9;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

/* ===== AD PLACEHOLDER ===== */
.ad-placeholder {
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    border: 2px dashed var(--primary-orange);
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.ad-placeholder p {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 1.1rem;
}

/* ===== AD BANNER ===== */
.ad-banner {
    grid-column: 1 / -1;
    margin: 1.5rem 0;
    background: var(--white);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.ad-banner:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.ad-banner img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

/* ===== STATS SECTION ===== */
.stats-section {
    margin: 2rem 0;
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
}

.stat-card {
    background: var(--white);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.1;
    white-space: nowrap;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* ===== SEARCH & FILTER ===== */
.search-filter-section {
    margin: 2rem 0;
}

.search-bar {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-bar input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid var(--light-blue);
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.search-bar input:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    border: 2px solid var(--primary-blue);
    background: var(--white);
    color: var(--primary-blue);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-blue);
    color: var(--white);
}

/* ===== CANDIDATES GRID ===== */
.candidates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.candidate-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.candidate-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.candidate-card.wished-candidate {
    border: 3px solid var(--primary-blue);
    box-shadow: 0 0 20px rgba(30, 58, 138, 0.3);
}

.wish-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 4px 16px rgba(30, 58, 138, 0.6);
    }
    100% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
}

.candidate-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
}

.candidate-info {
    padding: 1.5rem;
}

.candidate-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.candidate-party {
    display: inline-block;
    background: var(--primary-orange);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.candidate-constituency {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.candidate-wishes {
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.btn-wish {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, var(--primary-orange), #ff8c66);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-wish:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.btn-wish:disabled {
    background: var(--light-gray);
    color: var(--text-gray);
    cursor: not-allowed;
    transform: none;
}

/* ===== LEADERBOARD ===== */
.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.leaderboard-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
}

.leaderboard-item:hover {
    transform: translateX(5px);
}

.leaderboard-item.wished-candidate {
    border: 3px solid var(--primary-blue);
    box-shadow: 0 0 20px rgba(30, 58, 138, 0.3);
}

.wish-indicator-small {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.rank {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    min-width: 50px;
}

.rank.top-three {
    font-size: 2rem;
}

.leaderboard-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-blue);
}

.leaderboard-info {
    flex: 1;
}

.leaderboard-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
}

.leaderboard-details {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.leaderboard-wishes {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-orange);
}

/* ===== ADMIN PANEL ===== */
.admin-login {
    max-width: 400px;
    margin: 2rem auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.admin-login h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.admin-login input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-blue);
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.admin-panel {
    max-width: 800px;
    margin: 2rem auto;
}

.admin-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.admin-section h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.candidate-form {
    display: grid;
    gap: 1rem;
}

.candidate-form input,
.candidate-form textarea {
    padding: 0.8rem;
    border: 2px solid var(--light-blue);
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.candidate-form input:focus,
.candidate-form textarea:focus {
    border-color: var(--primary-orange);
}

.candidate-form textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-primary {
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.4);
}

.admin-candidate-item {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-candidate-info {
    flex: 1;
}

.admin-candidate-info h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.admin-candidate-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.btn-edit,
.btn-delete {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-edit {
    background: var(--light-blue);
    color: var(--white);
}

.btn-delete {
    background: #ef4444;
    color: var(--white);
}

.error-message {
    color: #ef4444;
    text-align: center;
    margin-top: 1rem;
}

/* Banner Management Styles */
.banner-management {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.banner-form {
    display: flex;
    flex-direction: column;
}

.banner-item {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.banner-preview {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.banner-preview img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    max-height: 120px;
    object-fit: cover;
}

.banner-info {
    flex: 1;
}

.banner-info p {
    margin: 0.5rem 0;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.admin-banners-list {
    margin-top: 1rem;
}

/* Visitor Management Styles */
.visitor-management {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.visitor-info {
    background: var(--light-blue);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.visitor-info p {
    font-size: 1.2rem;
    color: var(--white);
    margin: 0;
}

.visitor-info span {
    font-size: 1.5rem;
    font-weight: 700;
}

.visitor-controls {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.visitor-controls input {
    flex: 1;
    min-width: 200px;
    padding: 0.8rem;
    border: 2px solid var(--light-blue);
    border-radius: 10px;
    font-size: 1rem;
}

.visitor-controls button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary {
    background: var(--primary-orange);
    color: var(--white);
}

.btn-secondary:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(251, 146, 60, 0.4);
}

.visitor-actions {
    display: flex;
    justify-content: center;
}

.visitor-actions button {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s;
}

.modal.show {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--white);
    margin: 2% auto;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideDown 0.3s;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    float: right;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-orange);
    cursor: pointer;
    padding: 1rem;
    line-height: 1;
}

.close-modal:hover {
    color: var(--primary-blue);
}

.modal-body {
    padding: 2rem;
}

.modal-candidate-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.modal-candidate-name {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.modal-candidate-info {
    margin-bottom: 1rem;
}

.modal-candidate-bio {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 10px;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn:hover {
    transform: scale(1.05);
}

/* ===== LOADING SPINNER ===== */
.loading-spinner {
    text-align: center;
    padding: 3rem;
}

.spinner {
    border: 4px solid var(--light-gray);
    border-top: 4px solid var(--primary-orange);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer p {
    margin: 0.5rem 0;
}

.footer-links {
    margin-top: 1rem;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.9;
    transition: all 0.3s;
}

.footer-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.disclaimer {
    font-size: 0.9rem;
    opacity: 0.9;
    font-style: italic;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-section h2 {
        font-size: 1.5rem;
    }

    .hero-section p {
        font-size: 0.95rem;
    }

    .candidates-grid {
        grid-template-columns: 1fr;
    }

    .leaderboard-item {
        flex-direction: column;
        text-align: center;
    }

    .admin-candidate-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .share-buttons {
        flex-direction: column;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .filter-buttons {
        justify-content: center;
    }
    
    .stats-grid {
        gap: 0.5rem;
    }
    
    .stat-card {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .stat-icon {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .banner-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .banner-preview {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 1rem 0.5rem;
    }

    .hero-section h2 {
        font-size: 1.3rem;
    }
    
    .hero-section p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .candidate-card,
    .leaderboard-item {
        padding: 1rem;
    }

    .modal-body {
        padding: 1.5rem;
    }
    
    .stat-card {
        padding: 0.5rem;
        gap: 0.4rem;
    }
    
    .stat-icon {
        font-size: 1.3rem;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes countUp {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.count-up {
    animation: countUp 0.5s ease-out;
}

/* ===== PRIVACY POLICY ===== */
.privacy-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin: 2rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-section h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.privacy-content {
    line-height: 1.8;
}

.privacy-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.privacy-item:last-child {
    border-bottom: none;
}

.privacy-item h3 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.privacy-item h4 {
    color: var(--primary-orange);
    font-size: 1.1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.privacy-item p {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.privacy-item ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.privacy-item li {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.privacy-item a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.privacy-item a:hover {
    color: var(--primary-orange);
}

.privacy-footer {
    text-align: center;
    margin-top: 2rem;
}

.privacy-footer .btn-primary {
    display: inline-block;
}

@media (max-width: 768px) {
    .privacy-section {
        padding: 1.5rem;
        margin: 1rem 0;
    }

    .privacy-section h2 {
        font-size: 1.5rem;
    }

    .privacy-item h3 {
        font-size: 1.2rem;
    }

    .privacy-item {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
}

/* ===== ADVERTISEMENT TOGGLE SWITCH ===== */
#toggleSlider:before {
    content: "";
    position: absolute;
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + #toggleSlider {
    background-color: var(--primary-orange);
}

input:checked + #toggleSlider:before {
    transform: translateX(30px);
}

/* ===== SUBMIT CANDIDATE FORM ===== */
.submit-candidate-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.submit-candidate-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.submit-candidate-form h3 {
    color: var(--primary-blue);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.submit-candidate-form h3:first-child {
    margin-top: 0;
}

.submit-candidate-form input,
.submit-candidate-form textarea {
    width: 100%;
    padding: 0.9rem;
    margin-bottom: 1rem;
    border: 2px solid var(--light-blue);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    outline: none;
    transition: all 0.3s;
}

.submit-candidate-form input:focus,
.submit-candidate-form textarea:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.submit-candidate-form textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-candidate-form button {
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
    font-size: 1.1rem;
}

.submit-message {
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
    padding: 0.8rem;
    border-radius: 8px;
    display: none;
}

.submit-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
}

.submit-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
}

@media (max-width: 768px) {
    .submit-candidate-form {
        padding: 1.5rem;
    }
    
    .submit-candidate-form h3 {
        font-size: 1.1rem;
    }
}

/* ===== SUBMISSIONS LIST (ADMIN) ===== */
.submissions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.submission-item {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
}

.submission-item.pending {
    border-left-color: #f59e0b;
}

.submission-item.approved {
    border-left-color: #10b981;
}

.submission-item.rejected {
    border-left-color: #ef4444;
}

.submission-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.submission-submitter {
    flex: 1;
}

.submission-submitter strong {
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.submission-status {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.submission-status.pending {
    background: #fef3c7;
    color: #92400e;
}

.submission-status.approved {
    background: #d1fae5;
    color: #065f46;
}

.submission-status.rejected {
    background: #fee2e2;
    color: #991b1b;
}

.submission-candidate {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--text-gray);
}

.submission-candidate h4 {
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.submission-candidate p {
    color: var(--text-gray);
    margin: 0.3rem 0;
    font-size: 0.9rem;
}

.submission-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-approve {
    background: #10b981;
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-approve:hover {
    background: #059669;
    transform: scale(1.05);
}

.btn-reject {
    background: #ef4444;
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-reject:hover {
    background: #dc2626;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .submission-header {
        flex-direction: column;
    }
    
    .submission-actions {
        width: 100%;
    }
    
    .submission-actions button {
        flex: 1;
    }
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 3rem 0;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--light-blue), transparent);
}

.divider-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .section-divider {
        margin: 2rem 0;
    }
    
    .divider-text {
        font-size: 0.9rem;
    }
}
