/* Importing Google fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

/* ---------- Header styles ---------- */
header {
    background-color: #fff;
    min-height: 100vh;
    width: 100%;
    background-position: center;
    background-size: cover;
    position: relative;

    display: flex;
    flex-direction: column;
}

.about-header {
    background-image: url("../images/ub-bg.png");
}

.brothers-header {
    background-image: url("../images/brothers-bg.png");
}

.rush-header {
    background-image: url("../images/rush-bg.png");
}

.dashboard-header {
    min-height: 0vh;
}

/* ---------- Nav bar ---------- */
.header-bar {
    position: fixed;

    top: 0;
    z-index: 1000; /* Ensures it stays above event cards and images */
    
    /* Style it to look like it's floating */
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px); /* Adds a "glass" effect */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);

    display: flex;
    padding: 10px 4%;
    width: 100%;
    justify-content: space-between;
    align-items: center;

    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-bar-relative {
    position: relative;
}

/* The hidden state: Pushed off-screen */
.nav-up {
    transform: translateY(-100%);
}

.nav-logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease-in-out;
}

.nav-logo img {
    height: 60px;
}

.nav-logo:hover {
    transform: scale(1.05);
}


.logo-text {
    padding-left: 10px;
    display: block;
}

.logo-text h2, .logo-text h4 {
    color: white;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.nav-menu {
    flex: 1;
    text-align: right;
}

.nav-item {
    list-style: none;
    display: inline-block;
    padding: 8px 38px;
    position: relative;
}

.nav-link {
    color: white;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

.nav-link::after {
    content: '';
    width: 0%;
    height: 2px;
    background: white;
    display: block;
    margin: auto;
    transition: 0.2s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-active {
    color: #D3AF37;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
}

.nav-link-active::after {
    content: '';
    width: 100%;
    height: 2px;
    background: #D3AF37;
    display: block;
    margin: auto;
    transition: 0.2s;
}

/* ---------- Header content ---------- */
.header-content {
    margin-top: auto;
    margin-bottom: 10%;
    padding-left: 4%;

    width: 50%;
    
    white-space: nowrap; 
}

.header-content h1 {
    color: white;
    text-align: justify;

    font-size: clamp(1.5rem, 6vw, 6rem);
    letter-spacing: 18px;
}

.header-content h4 {
    color: white;
    text-align: justify;

    letter-spacing: 2px;
    font-size: clamp(1.0rem, 2.0vw, 4rem);
}

/* ---------- Section ---------- */
section {
    min-height: 100vh;
    width: 100%;
    position: relative;

    display: flex;
    flex-direction: column;
}

/* ---------- About content ---------- */
.about-content {
    background-color: white;
    width: 100%;
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center; 

    padding: 2% 6%;
}

.about-content-questions {
    padding: 2% 14%;
}

.about-content hr {
    width: 80%;           
    margin: 24px auto;     
    border: 1px solid black
}

.about-content h6 {
    color: black;
    text-align: center;

    padding-top: 32px;
    padding-bottom: 16px;
    font-size: 36px;
    font-weight: 300;
}

.about-text {
    color: black;
    text-align: center;

    padding: 16px 5%;
    font-size: 24px;
    font-weight: 300;
}

.questions-header {
    color: black;
    text-align: center;

    padding: 16px 5%;
    font-size: 2.8rem;
    font-weight: 300;
}

.about-collumns ul {
    display: flex; 
    justify-content: space-between;
}

.about-collumns ul li {
    flex: 1;
    list-style: none;
    margin: 0 24px;  
}

/* ---------- Pie chart wrapper ---------- */
.chart-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

canvas {
    width: 100%;
}

/* ---------- Action ---------- */
.action-row {
    display:flex; 
    gap: 12px; 
    align-items: center;
}

.action-link {
    text-decoration: none;
    font-weight: normal;
    font-size: 0.9rem;
    border: none; 
    background: none;
    cursor: pointer;
}

.action-link::after {
    content: '';
    width: 0%;
    height: 2px;
    background-color: currentColor;
    display: block;
    margin: auto;
    transition: 0.2s;
}

.action-link:hover::after {
    width: 100%;
}

/* ---------- Brother info display ---------- */
.class-header {
    width: 100%;
    margin: 60px 0;
    font-size: 2.2rem;
    font-weight: normal;
    letter-spacing: 4px;
}

.brother-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));

    width: 100%;
    gap: 40px;

    justify-content: center;
    

    margin-bottom: 40px;
}

.brother-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.brother-card:hover {
    transform: translateY(-5px);
}

.brother-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 60%;
}

.brother-text-container h3 {
    font-size: 0.8rem;
}

.brother-text-container p {
    font-size: 0.7rem;
}

.img-container {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f0f0f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 12px;
    border: 2px solid transparent;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brother-card h3 {
    font-size: 0.95rem;
    margin: 0;
    color: #333;
    text-align: center;
    font-weight: 600;
}

.brother-card p {
    font-size: 0.65rem;
    font-weight: normal;
}

.brother-socials {
    display: flex;
    text-align: right;
    gap: 10px;
    margin-top: 5px;
}

.brother-socials ul {
    list-style: none;
    display: inline-block;
    position: relative;
}


/* ---------- Rush info ---------- */
.schedule-header {
    width: 100%;
    margin: 60px 0;
    font-size: 2.4rem;
    font-weight: normal;
    letter-spacing: 4px;
    text-align: center;
}

.rush-logo-container {
    width: 260px;
    height: 260px;
    border-radius: 100%;
    overflow: hidden;
    background-color: #2a2a2a;
    box-shadow: 0 0px 24px rgba(0, 0, 0, 0.4);

    margin-bottom: 12px;
    margin-top: 30px;
    border: 2px solid transparent;

    transition: transform 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6), box-shadow 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);

}

.rush-logo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transition: opacity 0.4s ease, filter 0.4s ease;
}

.rush-logo-container:hover img {
    opacity: 0.2;
    filter: blur(2px);
}

.rush-logo-container:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 0px 26px rgba(0, 0, 0, 0.8);
}

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Centering logic */
    display: flex;
    flex-direction: column; /* Icon on top, text on bottom */
    justify-content: center;
    align-items: center;
    gap: 8px; /* Space between icon and text */

    opacity: 0;
    background: rgba(0, 0, 0, 0.4); /* Darkens the logo background for contrast */
    color: white;
    transition: opacity 0.3s ease;
    pointer-events: none; /* So the mouse still clicks the link, not the overlay */
}

.insta-overlay i {
    font-size: 4rem; 
    color: #e1306c;
}

.insta-overlay span {
    font-size: 1.0rem;
    font-weight: bold;
}

.rush-logo-container:hover .insta-overlay {
    opacity: 1;
}

.rush-logo-container:hover img {
    filter: blur(4px) brightness(0.7);
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr;
    width: 60%;
    gap: 10px;

    margin-top: 60px;
    margin-bottom: 40px;
}

.event-container {
    display: flex;
    flex-direction: column;
    padding: 20px 25px;
    width: 60%;
    margin-bottom: 20px;
    
    border-radius: 8px;
    
    border-left: 6px solid #940000; 
}

.event-container:nth-child(even) {
    margin-left: auto;
    border-left: none;
    text-align: right;
    align-items: flex-end; /* Align text to the right for even cards */

    border-right: 6px solid #940000;
}

.rush-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.rush-text-container h1 {
    font-size: 1.5rem;
    margin: 0 0 8px 0;
    color: #222;
    letter-spacing: -0.5px;
}

.rush-text-container h2 {
    font-size: 1.2rem;
    margin: 4px 0;
    color: #940000; /* Accent color for the date */
}

.rush-text-container h3, p {
    font-size: 0.95rem;
    margin: 2px 0;
    color: #666;
    font-weight: 400;
}

/* ---------- Content cards defaults ---------- */
.card {
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.10);

    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-hover:hover {
    transform: scale(1.015);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.20);
}

.card-accent-top {
    border-top: 8px solid #940000;
}

.card-accent-left {
    border-left: 8px solid #940000;
}

.card-accent-right {
    border-right: 8px solid #940000;
}

/* ---------- Notifications ---------- */
.notifications {
    position: fixed;
    top: 95px;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    max-width: 800px;
    padding: 0 20px;
    z-index: 9999;
}

.alert {
    position: relative;
    overflow: hidden;

    padding: 15px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid transparent;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

    opacity: 0;
    transform: translateY(-15px);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Visible state */
.alert.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hidden state */
.alert.is-hidden {
    opacity: 0;
    transform: translateY(-25px);
    pointer-events: none;
}

.alert-success {
    background-color: #e6f4ea;
    color: #1e7e34;
    border-color: #ceead6;
}

.alert-error {
    background-color: #fce8e6;
    color: #d93025;
    border-color: #fad2cf;
}

/* ---------- Profile ---------- */
.profile-container {
    max-width: 90%;
    margin: 20px auto;
    padding: 40px;
}

/* Grid Layout for Profile */
.profile-edit-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Custom Checklist Style */
.majors-checklist-container {
    max-height: 180px;
    overflow-y: auto;
    border: 2px solid #eee;
    border-radius: 6px;
    padding: 15px;
}
.major-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    font-weight: normal;
    cursor: pointer;
}

/* Profile Image Handling */
.avatar-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-overlay {
    position: absolute;
    top: 0; left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex; 
    justify-content: center; 
    align-items: center;
    opacity: 0; 
    transition: 0.3s; 
    cursor: pointer;
}

.avatar-wrapper:hover .avatar-overlay {
    opacity: 1; 
}

.avatar-overlay i {
    color: white; font-size: 2rem; 
}

.avatar-overlay input {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; cursor: pointer;
}

/* Modal Styling */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}
.modal-content {
    width: 90%;
    max-width: 500px;
    background: white;
}
.cropper-viewport {
    width: 100%;
    height: 350px;
    background: #f0f0f0;
    margin-bottom: 20px;
}
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.major-search-wrapper { 
    position: relative; 
}

.search-container { 
    display: flex; 
    gap: 5px; 
}

.search-container input {
    flex: 1;       /* takes remaining space */
    min-width: 0;  /* allows shrinking inside flex */
}

.search-container button {
    flex-shrink: 0; /* prevents button from shrinking or wrapping */
}

.suggestions-box {
    position: absolute;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
}

.suggestion-item:hover { background: #f4f4f4; color: #940000; }

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.major-tag {
    background: #940000;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.major-tag i { 
    cursor: pointer; font-size: 0.7rem; opacity: 0.8; 
}

.major-tag i:hover { 
    opacity: 1; 
}



/* ---------- Common Styles ---------- */
.code-box {
    width: 100%;
    display: inline-block;
    background: #f4f4f4; 
    padding: 2px 5px; 
    border-radius: 3px;
    white-space: nowrap;
    overflow-x: auto;
}

.qr-container {
    display: flex;
    flex-direction: collumn;
    max-width: 100%;
}




/* ---------- Admin ---------- */
.admin-container {
    max-width: 90%;
    margin: 20px auto;
    padding: 40px;
}

.admin-nav {
    flex: 1;
    text-align: left;
    margin-bottom: 20px;
}

.admin-link {
    font-size: 16px;
    list-style: none;
    display: inline-block;
    padding-right: 10px;
    position: relative;
    text-decoration: none;
    color: #333;
}

.admin-link::after {
    content: '';
    width: 0%;
    height: 1px;
    background: #333;
    display: block;
    margin: auto;
    transition: 0.2s;
}

.admin-link:hover::after {
    width: 100%;
}

.admin-link-selected {
    font-size: 18px;
    list-style: none;
    display: inline-block;
    padding-right: 10px;
    position: relative;
    text-decoration: none;
    color: #940000;
}

.admin-row {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 15px;
    gap: 10px;
}

/* ---------- Table ---------- */
.table-container {
    width: 100%;
    margin: 40px auto;
    padding: 10px;
    border-collapse: collapse;
}

.table-container thead {
    background-color: #f8f9fa;
}

.table-container th {
    text-align: left;
    padding: 15px;
    font-weight: 600;
    color: #222;
    border-bottom: 2px solid #eee;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table-container td {
    max-width: 0;
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: #444;
    vertical-align: middle;
}

.table-container tr:last-child td {
    border-bottom: none;
}

.table-container tr:hover {
    background-color: #fcfcfc;
}

/* ---------- Badges ---------- */
.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.badge-active { 
    background: #e6f4ea; 
    color: #1e7e34; 
}

.badge-used { 
    background: #e8f0fe; 
    color: #1967d2; 
}

.badge-expired { 
    background: #fce8e6; 
    color: #d93025; 
}

/* ---------- Action ---------- */
.action-row {
    display:flex; 
    gap: 12px; 
    align-items: center;
}

.action-link {
    text-decoration: none;
    font-weight: normal;
    font-size: 0.9rem;
    border: none; 
    background: none;
    cursor: pointer;
}

.action-link::after {
    content: '';
    width: 0%;
    height: 2px;
    background-color: currentColor;
    display: block;
    margin: auto;
    transition: 0.2s;
}

.action-link:hover::after {
    width: 100%;
}



/* ---------- Interest form ---------- */
.interest-form-container {
    max-width: 800px;
    margin: 60px auto; /* Centers the form and gives space from the schedule */
    padding: 40px;
}

.interest-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.interest-form-header h2 {
    margin-top: 0;
    color: #222;
    font-size: 2rem;
}

.interest-form-header img {
    height: 80px;
    margin-bottom: 30px;
}

.interest-form-container h2 {
    margin-top: 0;
    color: #222;
    font-size: 2rem;
    margin-bottom: 30px;
}

.interest-form-container p {
    color: #666;
    margin-bottom: 30px;
}


/* ---------- Form defaults ---------- */

.form-container {
    max-width: 100%;
    margin: auto auto;
    padding: 40px;
}

.form-container h2 {
    margin-top: 0;
    color: #222;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.form-container p {
    color: #666;
    margin-bottom: 15px;
}

.form-container hr {
    width: 100%;           
    margin: 24px auto;     
    border: 0px 
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.form-header h2 {
    margin-top: 0;
    color: #222;
    font-size: 2rem;
}

.form-header img {
    height: 80px;
    margin-bottom: 30px;
}

.form-heading {
    margin-top: 0;
    color: #222;
    font-size: 2rem;
    margin-bottom: 30px;
}

.form-text {
    color: #666;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-row {
    width: 100%;
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

label {
    font-weight: bold;
    margin-bottom: 8px;
    color: #444;
    font-size: 0.9rem;
}

input, select, textarea {
    resize: none;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease; /* Fidget-ready transition */
    outline: none;
}

/* Fidget effect: Glow and lift on focus */
input:focus, select:focus, textarea:focus {
    border-color: #940000;
    box-shadow: 0 0 8px rgba(64, 93, 230, 0.2);
    transform: translateY(-2px);
}


.btn {
    width: 100%;
    padding: 15px;
    background:#666;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.0rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn:hover {
    background: #940000;
    box-shadow: 0 8px 15px rgba(225, 48, 108, 0.3);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #222;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.0rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.submit-btn:hover {
    background: #940000;
    transform: scale(1.02);
    box-shadow: 0 8px 15px rgba(225, 48, 108, 0.3);
}


/* ---------- Quote ---------- */
.quote {
    color: black;
    text-align: center;

    padding: 24px 0px;
    font-size: 36px;
    font-weight: 300;
}


/* ---------- Footer ---------- */
footer {
    background-color: #87600C;
    min-height: 14vh;
    width: 100%;
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center; 

}

footer h1 {
    color: white;
    text-align: center;

    padding: 14px 0px;
    font-size: 24px;
    font-weight: bold;
}

footer a {
    color: white;
    text-align: center;

    padding-bottom: 10px;
    font-size: 16px;
    font-weight: bold;

    text-decoration: none;
}

footer p {
    color: lightgrey;
    text-align: center;

    padding-bottom: 12px;
    font-size: 14px;
    font-weight: normal;

    text-decoration: none;
}

/* ---------- Styles for smaller screens ---------- */
@media(max-width: 950px) {
    .about-collumns ul {
        flex-direction: column;
    }

    .header-content {
        width: 70%;
    }

    .header-content h4 {
        font-size: clamp(0.75rem, 1.0vw, 2rem);
    }

    .nav-item {
        padding: 4px 10px;
    }

    .nav-link {
        font-size: 10px;
    }

    .nav-link-active {
        font-size: 12px;
    }

    .nav-logo {
        font-size: 10px;
    }

    .nav-logo img {
        height: 50px;
    }

    .notifications {
        width: 60%;
    }

    .card {
        padding: 20px;
    }

    .profile-edit-grid { 
        grid-template-columns: 1fr; 
    }

    .interest-form-container {
        width: 90%; /* Let the form take up more space on mobile */
        padding: 20px;
        margin: 30px auto;
    }

    .schedule-grid {
        width: 80%;
    }

    .event-container {
        width: 100%; /* Make event cards wider on mobile so text isn't cramped */
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: left !important;
        align-items: flex-start !important;
        border-right: none !important;
        border-left: 6px solid #940000 !important; /* Uniform look for mobile */
    }


    /* ---------- Badges responsivness ---------- */
    .badge {
        padding: 2px 6px;
        font-size: 0.60rem;
    }

    /* ---------- Action responsivness ---------- */
    .action-row {
        gap: 6px; 
    }
    
    .action-link {
        font-size: 0.8rem;
    }
    
    /* ---------- Profile responsivness ---------- */
    .profile-container {
        padding: 40px 10px;
    }

    /* ---------- Admin responsivness ---------- */
    .admin-container {
        padding: 40px 20px;
    }

    .admin-row {
        margin-bottom: 40px;
        flex-direction: column;
        gap: 20px;
    }

    .admin-row h2 {
        font-size: 1.0rem;
    }

    /* ---------- Form responsivness ---------- */
    
    .form-container {
        padding: 30px;
    }
    
    .form-container h2 {
        font-size: 1.0rem;
    }
    
    .form-header h2 {
        font-size: 1.6rem;
    }
    
    .form-header img {
        height: 70px;
        margin-bottom: 16px;
    }
    
    .form-heading {
        font-size: 1.6rem;
        margin-bottom: 16px;
    }
    
    .form-text {
        margin-bottom: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 5px;
    }
    
    label {
        margin-bottom: 6px;
        font-size: 0.8rem;
    }
    
    input, select, textarea {
        padding: 10px;
        font-size: 0.9rem;
    }



    /* ---------- Table ---------- */
    .table-container {
        margin: 20px -20px;
        width: auto;
    }
    
    .table-container th {
        font-size: 0.80rem;
    }

    .table-container td {
        font-size: 0.75rem;
        padding: 20px 10px;
    }
    

    footer h1 {
        font-size: 16px;
        padding: 10px, 0px;
    }

    footer p {
        padding-bottom: 6px;
        font-size: 12px;
    }

}

@media(max-width: 400px) {

    /* ---------- Profile responsivness ---------- */
    .profile-container {
        padding: 40px 10px;
    }

    /* ---------- Admin responsivness ---------- */
    .admin-container {
        padding: 40px 10px;
    }

    .table-container {
        margin: 20px -10px;
        width: auto;
    }

    .header-content h1 {
        font-size: 1.1rem;
    }

    .header-content h4 {
        font-size: 0.6rem;
    }

    .nav-link {
        font-size: 9px;
    }

    .nav-link-active {
        font-size: 10px;
    }

    .table-container th {
        font-size: 0.6rem;
    }

    .action-link {
        font-size: 0.6rem;
    }

    .table-container td {
        font-size: 0.6rem;
    }
}



