* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1a1a1a;
    color: #00ff7f; 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
}

.profile-page-container { 
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
}

.profile-header {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 20px;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 3px solid #137fec; 
}

.profile-page-container h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #00ff7f; 
}

.subtitle {
    font-size: 18px;
    color: #92adc9;
    margin-bottom: 20px;
}

.bio {
    font-size: 15px;
    color: #b0b8c1;
    line-height: 1.8;
}

.profile-page-container h2 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 45px;
    margin-bottom: 20px;
    color: #00ff7f; 
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    font-size: 14px;
    color: #b0b8c1;
}

.about-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #137fec; 
    font-size: 18px;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.skill-tag {
    background-color: #233648;
    color: #00ff7f;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.contact-section {
    margin-top: 45px;
}

.contact-item {
    margin: 15px 0;
}

.contact-item a {
    color: #137fec; 
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #137fec; 
    text-decoration: none;
}

.social-links a:hover {
    opacity: 0.8;
}

.back-link {
    margin-top: 50px;
    text-align: center;
}

.back-link a {
    color: #137fec; /* You may want to change this to #00ff7f */
    text-decoration: none;
    font-size: 14px;
}

.back-link a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .profile-page-container {
        padding: 30px 15px;
    }

    .profile-page-container h1 {
        font-size: 26px;
    }

    .profile-pic {
        width: 100px;
        height: 100px;
    }

    .profile-page-container h2 {
        font-size: 18px;
    }
}


.list-page-container { 
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.list-page-header { 
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.list-page-header .header-content h1 {
    font-size: 36px;
    font-weight: 900;
    color: #00ff7f;
    margin-bottom: 10px;
    margin-top: 20px;
}

.list-page-header .header-content p {
    font-size: 15px;
    color: #92adc9;
    margin-top: 20px;
}

.btn-home {
    background-color: #137fec; 
    color: #00ff7f; 
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.btn-home:hover {
    background-color: #0e5bc7;
}

.search-box {
    margin-bottom: 30px;
}

.search-box input {
    width: 100%;
    padding: 12px 16px;
    background-color: #233648;
    border: 1px solid #324d67;
    border-radius: 8px;
    color: #00ff7f;
    font-size: 14px;
}

.search-box input::placeholder {
    color: #92adc9;
}

.search-box input:focus {
    outline: none;
    border-color: #137fec; 
    box-shadow: 0 0 0 2px rgba(19, 127, 236, 0.1);
}

.table-container {
    display: none;
    overflow-x: auto;
    border: 1px solid #324d67;
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background-color: #192633;
}

th {
    padding: 14px;
    text-align: left;
    color: #00ff7f;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid #324d67;
}

td {
    padding: 14px;
    font-size: 13px;
    color: #b0b8c1;
    border-bottom: 1px solid #324d67;
}

tbody tr:hover {
    background-color: #192633;
}

tbody tr:last-child td {
    border-bottom: none;
}

.cards-container {
    display: grid;
    gap: 15px;
}

.course-card {
    background-color: #192633;
    border: 1px solid #324d67;
    border-radius: 8px;
    padding: 16px;
    transition: border-color 0.3s;
}

.course-card:hover {
    border-color: #137fec;
}

.course-title {
    font-size: 16px;
    font-weight: 600;
    color: #00ff7f;
    margin-bottom: 8px;
}

.course-meta {
    font-size: 13px;
    color: #92adc9;
    margin-bottom: 12px;
}

.course-grade {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #324d67;
}

.grade-label {
    font-size: 12px;
    color: #92adc9;
}

.grade-value {
    font-size: 16px;
    font-weight: 700;
    color: #00ff7f;
}

footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #324d67;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #92adc9;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #137fec; 
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icons a {
    color: #92adc9;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #137fec; 
}

.copyright {
    font-size: 13px;
    color: #92adc9;
}

@media (min-width: 768px) {
    .table-container {
        display: block;
    }

    .cards-container {
        display: none;
    }
}

@media (max-width: 767px) {
    .list-page-header { 
        flex-direction: column;
        align-items: flex-start;
    }

    .list-page-header .header-content h1 {
        font-size: 28px;
        margin-top: 20px;
    }

    .btn-home {
        width: 100%;
        justify-content: center;
    }
}

.dashboard-layout-body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.dashboard-container {
    max-width: 900px;
    width: 100%;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 60px;
    margin-top: 20px;
}

.dashboard-header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #00ff7f;
    margin-bottom: 20px;
    letter-spacing: -1px;
    margin-top: 20px;
}

#current-date {
    font-size: 1.1rem;
    color: #8b92a4;
    font-weight: 500;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.5); 
    transform: translateY(-4px);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.2); 
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.card h2 {
    font-size: 1.5rem;
    color: #00ff7f;
    margin-bottom: 12px;
    font-weight: 600;
    text-decoration: none;
}

.card p {
    font-size: 0.95rem;
    color: #a0aabb;
    line-height: 1.6;
    text-decoration: none;
}

@media (max-width: 768px) {
    .dashboard-header h1 {
        font-size: 2.5rem;
        margin-top: 20px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 24px;
    }
}