/* Reset dan dasar */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f9ff;
    color: #333;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100%;
    background: linear-gradient(to bottom, #4fd1c5, #38b2ac); /* hijau toska ke biru langit */
    padding-top: 30px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.sidebar h4 {
    color: white;
    text-align: center;
    margin-bottom: 30px;
    font-size: 20px;
    letter-spacing: 1px;
}

.sidebar a {
    display: block;
    padding: 14px 20px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s, padding-left 0.3s;
    border-left: 4px solid transparent;
}

.sidebar a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 30px;
    border-left: 4px solid #ffffff;
}
.sidebar a i {
    margin-right: 10px;
    width: 18px;
    text-align: center;
}


/* Content */
.content {
    margin-left: 240px;
    padding: 40px;
    min-height: 100vh;
    background: linear-gradient(to right, #e0f7fa, #ffffff);
    animation: fadeIn 0.5s ease-in-out;
}

#page-title {
    font-size: 28px;
    color: #319795; /* warna utama toska */
    margin-bottom: 20px;
    border-bottom: 2px solid #81e6d9;
    padding-bottom: 8px;
}

/* Animasi fadeIn */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive (opsional) */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .content {
        margin-left: 0;
    }
  }



/* Jadwal */
.jadwal-container {
    padding: 20px;
    margin-left: 220px; /* tambahkan ini agar geser ke kanan */
    animation: fadeIn 0.5s ease-in-out;
}


.jadwal-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.jadwal-card h2 {
    color: #319795;
    margin-bottom: 20px;
    text-align: center;
}

/* Tabel */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    color: #333;
    background-color: #f9f9f9;
    border: 1px solid #e2e8f0;
}

.styled-table thead {
    background-color: #38b2ac;
    color: #ffffff;
}

.styled-table th, .styled-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.styled-table tbody tr:hover {
    background-color: #e6fffa;
}
/* Mahasiswa */
.mahasiswa-container {
    padding: 20px;
    margin-left: 220px;
    animation: fadeIn 0.5s ease-in-out;
}

.mahasiswa-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
    max-width: 1000px;
    margin: auto;
}

.mahasiswa-card h2 {
    color: #319795;
    margin-bottom: 20px;
    text-align: center;
}

/* Tabel styling reuse */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    color: #333;
    background-color: #f9f9f9;
    border: 1px solid #e2e8f0;
}

.styled-table thead {
    background-color: #38b2ac;
    color: #ffffff;
}

.styled-table th,
.styled-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.styled-table tbody tr:hover {
    background-color: #e6fffa;
}
/* Nilai */
.nilai-container {
    padding: 20px;
    margin-left: 220px;
    animation: fadeIn 0.5s ease-in-out;
}

.nilai-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
    max-width: 1000px;
    margin: auto;
}

.nilai-card h2 {
    color: #319795;
    margin-bottom: 20px;
    text-align: center;
}
.home-container {
    padding: 20px;
    margin-r: 220px; /* Sesuaikan dengan lebar sidebar */
    animation: fadeIn 0.5s ease-in-out;
}

.card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: auto;
    text-align: left;
}

.card h2 {
    color: #319795;
    margin-bottom: 20px;
    text-align: center;
    font-size: 24px;
}

.card p {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.card strong {
    color: #2c7a7b;
}


/* Gunakan kembali .styled-table yang sudah ada */



