@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

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

body {
    font-family: 'Manrope', sans-serif;
    background: linear-gradient(135deg, #f0f8f5 0%, #e6f7f2 100%);
    color: #2c3e50;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #20B2AA 0%, #40E0D0 100%);
    padding: 2vh 0;
    box-shadow: 0 4px 20px rgba(32, 178, 170, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #ffffff;
    font-size: 3.5vh;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1.5vh;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo:hover {
    color: #f0fff0;
    transform: translateY(-1px);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 3vh;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 2vh;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 1vh 2vh;
    border-radius: 8px;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.user-info-item {
    margin-left: 2vh;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1.5vh;
    color: #ffffff;
    font-size: 1.8vh;
    font-weight: 500;
    padding: 1vh 2vh;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.welcome-text {
    opacity: 0.9;
}

.admin-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5vh 1vh;
    border-radius: 6px;
    font-size: 1.6vh;
    font-weight: 600;
}

.logout-link {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logout-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

/* Main Content */
.main {
    flex: 1;
    padding: 3vh 0;
}
/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #20B2AA 0%, #40E0D0 100%);
    color: #ffffff;
    padding: 4vh 0;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2vh;
}

.footer-logo {
    font-size: 2.8vh;
    font-weight: 700;
    color: #ffffff;
}

.footer-text {
    font-size: 1.8vh;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    gap: 3vh;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.8vh;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.footer-link:hover {
    opacity: 1;
    text-decoration: underline;
    transform: translateY(-1px);
}

/* Forms */
.form-container {
    max-width: 500px;
    margin: 5vh auto;
    padding: 4vh;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(32, 178, 170, 0.2);
    border: 1px solid #e0f7fa;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-title {
    text-align: center;
    margin-bottom: 3vh;
    color: #20B2AA;
    font-size: 3vh;
    font-weight: 700;
}

.form-group {
    margin-bottom: 2.5vh;
}

.form-label {
    display: block;
    margin-bottom: 1vh;
    color: #2c3e50;
    font-size: 2vh;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 1.5vh;
    border: 2px solid #e0f7fa;
    border-radius: 12px;
    font-size: 2vh;
    transition: all 0.3s ease;
    background: #f8fdfc;
    font-family: 'Manrope', sans-serif;
}

.form-control:focus {
    border-color: #20B2AA;
    outline: none;
    box-shadow: 0 0 0 3px rgba(32, 178, 170, 0.1);
    background: #ffffff;
}

.form-check-input {
    margin-right: 1vh;
}

.btn {
    display: inline-block;
    padding: 1.5vh 3vh;
    background: linear-gradient(135deg, #20B2AA 0%, #40E0D0 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 2vh;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-family: 'Manrope', sans-serif;
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.4);
    color: #ffffff;
}

.btn-block {
    width: 100%;
    display: block;
}

/* Alerts */
.alert {
    padding: 2vh;
    margin-bottom: 2vh;
    border-radius: 12px;
    font-size: 1.8vh;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

.help-block {
    color: #e74c3c;
    font-size: 1.6vh;
    margin-top: 0.5vh;
    font-weight: 500;
}

/* Card */
.card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(32, 178, 170, 0.2);
    padding: 4vh;
    margin-bottom: 3vh;
    border: 1px solid #e0f7fa;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(32, 178, 170, 0.3);
}

.card-title {
    color: #20B2AA;
    margin-bottom: 2vh;
    font-size: 2.5vh;
    font-weight: 700;
    border-bottom: 2px solid #e0f7fa;
    padding-bottom: 1vh;
}

/* Profile info */
.profile-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2vh;
}

.profile-item {
    margin-bottom: 1.5vh;
    padding: 1vh;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.profile-item:hover {
    background: #f8fdfc;
}

.profile-label {
    font-weight: 700;
    color: #20B2AA;
    font-size: 1.8vh;
    display: block;
    margin-bottom: 0.5vh;
}

.profile-value {
    color: #2c3e50;
    font-size: 1.8vh;
}

/* Table */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2vh;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(32, 178, 170, 0.1);
}

.table th, .table td {
    padding: 1.5vh;
    text-align: left;
    border-bottom: 1px solid #e0f7fa;
    font-size: 1.8vh;
}

.table th {
    background: linear-gradient(135deg, #20B2AA 0%, #40E0D0 100%);
    color: #ffffff;
    font-weight: 600;
}

.table tr:hover {
    background: #f8fdfc;
}

/* Status badges */
.status-new {
    background: #ffeaa7;
    color: #2d3436;
    padding: 0.8vh 1.5vh;
    border-radius: 20px;
    font-size: 1.6vh;
    font-weight: 600;
    display: inline-block;
}

.status-in-progress {
    background: #81ecec;
    color: #2d3436;
    padding: 0.8vh 1.5vh;
    border-radius: 20px;
    font-size: 1.6vh;
    font-weight: 600;
    display: inline-block;
}

.status-accepted {
    background: #55efc4;
    color: #2d3436;
    padding: 0.8vh 1.5vh;
    border-radius: 20px;
    font-size: 1.6vh;
    font-weight: 600;
    display: inline-block;
}

/* Links */
.form-link {
    text-align: center;
    margin-top: 2vh;
}

.form-link a {
    color: #20B2AA;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.form-link a:hover {
    color: #40E0D0;
    text-decoration: underline;
    transform: translateY(-1px);
}

/* File inputs */
.file-input {
    border: 2px dashed #20B2AA;
    padding: 2vh;
    border-radius: 12px;
    text-align: center;
    background: #f8fdfc;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-input:hover {
    background: #e8f8f5;
    border-color: #40E0D0;
}

/* User info in header */
.user-info {
    display: flex;
    align-items: center;
    gap: 1.5vh;
    color: #ffffff;
    font-size: 1.8vh;
    font-weight: 500;
}

.welcome-text {
    opacity: 0.9;
}

.admin-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5vh 1vh;
    border-radius: 12px;
    font-size: 1.6vh;
    font-weight: 600;
}

.admin-header {
    text-align: center;
    margin-bottom: 4vh;
    padding: 3vh;
    background: linear-gradient(135deg, #20B2AA 0%, #40E0D0 100%);
    border-radius: 16px;
    color: white;
}

.admin-title {
    font-size: 4vh;
    font-weight: 800;
    margin-bottom: 1vh;
}

.admin-subtitle {
    font-size: 2vh;
    opacity: 0.9;
}

/* Filter Card */
.filter-card {
    background: white;
    border-radius: 16px;
    padding: 3vh;
    margin-bottom: 3vh;
    box-shadow: 0 4px 20px rgba(32, 178, 170, 0.1);
    border: 1px solid #e0f7fa;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2vh;
    padding-bottom: 2vh;
    border-bottom: 2px solid #e0f7fa;
}

.filter-title {
    font-size: 2.2vh;
    font-weight: 600;
    color: #20B2AA;
    margin: 0;
}

.filter-form .form-group {
    margin-bottom: 1.5vh;
}

.filter-form .form-control {
    border-radius: 8px;
}

/* Stats Cards */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2vh;
    margin-bottom: 3vh;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 2.5vh;
    display: flex;
    align-items: center;
    gap: 2vh;
    box-shadow: 0 2px 15px rgba(32, 178, 170, 0.1);
    border: 1px solid #e0f7fa;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 3.5vh;
    background: linear-gradient(135deg, #20B2AA 0%, #40E0D0 100%);
    border-radius: 10px;
    width: 6vh;
    height: 6vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-number {
    font-size: 2.5vh;
    font-weight: 700;
    color: #20B2AA;
    line-height: 1;
}

.stat-label {
    font-size: 1.6vh;
    color: #2c3e50;
    opacity: 0.8;
}

/* Table Card */
.table-card {
    background: white;
    border-radius: 16px;
    padding: 3vh;
    box-shadow: 0 4px 20px rgba(32, 178, 170, 0.1);
    border: 1px solid #e0f7fa;
    overflow: hidden;
}

.table {
    margin: 0;
}

.table th {
    background: linear-gradient(135deg, #20B2AA 0%, #40E0D0 100%);
    color: white;
    font-weight: 600;
    border: none;
    padding: 1.5vh;
}

.table td {
    padding: 1.5vh;
    vertical-align: middle;
    border-color: #e0f7fa;
}

.action-buttons {
    display: flex;
    gap: 0.5vh;
    flex-wrap: wrap;
}

.action-buttons .btn {
    margin: 0.2vh;
}

/* Status badges */
.status-new, .status-in-progress, .status-accepted {
    padding: 0.6vh 1.2vh;
    border-radius: 20px;
    font-size: 1.4vh;
    font-weight: 600;
    display: inline-block;
}

.status-new {
    background: #ffeaa7;
    color: #2d3436;
}

.status-in-progress {
    background: #81ecec;
    color: #2d3436;
}

.status-accepted {
    background: #55efc4;
    color: #2d3436;
}

/* Dropdown */
.dropdown-menu {
    border: 1px solid #e0f7fa;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.1);
}

.dropdown-item {
    font-size: 1.6vh;
    padding: 1vh 1.5vh;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: #f8fdfc;
    color: #20B2AA;
}

/* Responsive */
@media (max-width: 768px) {
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-header {
        flex-direction: column;
        gap: 2vh;
        text-align: center;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .table {
        font-size: 1.4vh;
    }
}