/* BITS Employee Portal - Complete Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    background-color: #2c3e50;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-links a:hover {
    background-color: rgba(255,255,255,0.1);
}

.nav-links a.active {
    background-color: rgba(255,255,255,0.2);
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.site-main {
    flex: 1;
}

.page-header {
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.stats-bar {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.stat-label {
    font-weight: 600;
    color: #666;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3498db;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

.btn-danger {
    background-color: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background-color: #c0392b;
}

.btn-admin {
    background-color: #9b59b6;
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.vpn-accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.vpn-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.vpn-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.vpn-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-success {
    background-color: #d4edda;
    color: #155724;
}

.badge-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.form-container {
    max-width: 600px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: #666;
    font-size: 0.875rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.info-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.quick-actions {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.quick-actions h3 {
    margin-bottom: 1rem;
}

.quick-actions .btn {
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

.admin-notice {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.vdrive-stats {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background-color: #ecf0f1;
    border-radius: 15px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db 0%, #2ecc71 100%);
    transition: width 0.3s ease;
}

.vdrive-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.info-box {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.info-box code {
    display: block;
    background-color: #f4f4f4;
    padding: 0.75rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    margin: 0.5rem 0;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 8px;
}

footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

footer .container {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #31506d 0%, #243949 100%);
    color: white;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.92;
}

.cta-buttons,
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.marketing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
    gap: 2rem;
    padding: 3rem;
    background: linear-gradient(135deg, #12263a 0%, #1f4b63 55%, #3c6e71 100%);
    color: white;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(18, 38, 58, 0.18);
    margin-bottom: 3rem;
}

.marketing-hero-content h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.marketing-hero-content p {
    font-size: 1.1rem;
    max-width: 50rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.9rem;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: #9dd9d2;
}

.marketing-hero-panel,
.split-card,
.contact-card,
.service-card,
.feature {
    background: white;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(27, 39, 51, 0.08);
}

.marketing-hero-panel {
    color: #1f2d3d;
    padding: 2rem;
    align-self: stretch;
}

.marketing-hero-panel h2,
.split-card h2,
.portal-cta h2,
.section-heading h2 {
    color: #1e3447;
}

.marketing-hero-panel h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.hero-highlights {
    list-style: none;
}

.hero-highlights li {
    padding: 0.9rem 0;
    border-bottom: 1px solid #e3ebf0;
    color: #355164;
}

.hero-highlights li:last-child {
    border-bottom: none;
}

.marketing-section {
    margin-bottom: 3rem;
}

.section-heading {
    margin-bottom: 1.5rem;
}

.section-heading h2 {
    font-size: 2rem;
    max-width: 50rem;
}

.service-grid,
.features,
.solutions-grid {
    display: grid;
    gap: 1.5rem;
}

.service-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-card {
    padding: 1.6rem;
    border: 1px solid #e6edf2;
}

.service-card h3,
.feature h3,
.solution-item h3 {
    margin-bottom: 0.75rem;
    color: #243949;
}

.service-card p,
.feature p,
.solution-item p,
.split-card p,
.contact-card p,
.portal-cta p {
    color: #5c6f7f;
}

.split-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.split-card {
    padding: 2rem;
}

.emphasis-card {
    background: linear-gradient(180deg, #f2f8fb 0%, #e6f1f7 100%);
}

.solutions-band {
    background: #eef4f7;
    border-radius: 16px;
    padding: 2rem;
}

.solutions-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.solution-item {
    padding: 1.2rem 0;
    border-top: 1px solid #d7e1e8;
}

.solution-item:first-child,
.solution-item:nth-child(2),
.solution-item:nth-child(3) {
    border-top: none;
}

.contact-section {
    margin-bottom: 2rem;
}

.contact-card {
    padding: 2rem;
    border-left: 4px solid #2f89c7;
}

.contact-card a {
    color: #1d6fa5;
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.contact-method-card {
    padding: 2rem;
    border-top: 4px solid #2f89c7;
}

.contact-method-card .eyebrow {
    margin-bottom: 0.75rem;
}

.contact-method-card h3 {
    margin-bottom: 0.75rem;
    color: #243949;
}

.contact-method-card p {
    color: #5c6f7f;
    margin-bottom: 1rem;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: #1d6fa5;
    text-decoration: none;
}

.contact-email:hover {
    text-decoration: underline;
}

.portal-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #dce9f2 0%, #edf5f8 100%);
    border-radius: 14px;
}

.secure-access-hero {
    background: linear-gradient(135deg, #34526a 0%, #22384b 100%);
}

.features {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-top: 3rem;
}

.feature {
    padding: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stats-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .quick-actions .btn {
        display: block;
        width: 100%;
        margin-right: 0;
    }

    .marketing-hero,
    .split-section,
    .portal-cta {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .marketing-hero {
        padding: 2rem;
    }

    .marketing-hero-content h1,
    .hero h1 {
        font-size: 2.2rem;
    }

    .portal-cta {
        align-items: flex-start;
    }
}
