:root {
     --primary-color: #164e63;
    --secondary-color: #6366f1;
    --accent-color: #d97706;
    --primary-blue: #1e40af;
    --secondary-blue: #3b82f6;
    --accent-pink: #ec4899;
    --background-light: #ebebeb;
    --text-dark: #1e293b;
    --border-color: #e2e8f0;
    --background-color: #ffffff;
    --card-background: #ecfeff;
    --text-color: #475569;
    --sidebar-bg: #011097;
    --sidebar-text: #e9e9e9;
}

body {
    background-color: var(--background-light);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.header-section {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


.yeti-logo {
    height: auto;
    max-height: 60px;
    max-width: 100%;
}

.spu-logo {
    height: auto;
    max-height: 50px;
    max-width: 100%;
}

/* Tablet and below */
@media (max-width: 768px) {
.logo-container a{
        padding: 0 50px;
    }
    .yeti-logo, .spu-logo {
        max-height: 50px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .logo-container a{
        padding: 0 50px;
    }

    .yeti-logo, .spu-logo {
        max-height: 40px;
    }
}


.main-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.welcome-section {
    padding: 2rem;
    margin-bottom: 2rem;
}

.welcome-title {
    color: var(--primary-blue);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    /* border-bottom: 3px solid var(--secondary-blue); */
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.form-section {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.info-section {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.form-title {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.form-label {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.required {
    color: #dc2626;
}

.form-control, .form-select {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.75rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.btn-submit {
    background: var(--primary-blue);
    border: none;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--secondary-blue);
    transform: translateY(-1px);
}

.student-image {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.portal-title {
    color: var(--text-dark);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.portal-description {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}

.footer {
    background: var(--primary-blue);
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.alert {
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .logo-container {
        flex-direction: column;
        gap: 1rem;
    }
}

.task-rules{
    background: rgb(236, 236, 236);
    padding: 20px;
    border-radius: 10px;
}




/* Admin Dashboard */
.sidebar {
    background-color: var(--sidebar-bg);
    min-height: 100vh;
    width: 250px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-right: 1px solid var(--border-color);
}

.sidebar-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    background-color: #fff;
    color: white;
    align-items: center;
    text-align: center;
    justify-content: center;
}



.sidebar-menu {
    padding: 1rem 0;
}

.sidebar-menu .nav-link {
    color: var(--sidebar-text);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.sidebar-menu .nav-link:hover,
.sidebar-menu .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.sidebar-menu .nav-link i {
    width: 20px;
    margin-right: 0.75rem;
}

.main-content {
    margin-left: 250px;
    padding: 2rem;
}


.top-bar {
    background-color: var(--background-color);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
    margin: -2rem -2rem 2rem -2rem;
    display: flex;
    justify-content: between;
    align-items: center;
}

.stats-card {
    background: var(--background-color);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-2px);
}

.stats-card .icon {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
    background-color: var(--primary-color);
}

.stats-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    margin: 0;
    color: var(--primary-color);
}

.stats-card p {
    margin: 0;
    color: var(--text-color);
    font-weight: 600;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.page-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 0.5rem;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    border-radius: 0.5rem;
    font-weight: 600;
}

.btn-warning {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    border-radius: 0.5rem;
    font-weight: 600;
}