/* Universal and Body Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

body {
    min-height: 100vh;
    background: url('images/isu_campus_bg.jpg') center/cover no-repeat fixed;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    z-index: -1;
}

/* Header (Top Bar) */
.top-bar {
    background: linear-gradient(to right, #06ab20, #1b75bc);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Back to Homepage Button */
.back-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(to right, #06ab20, #1b75bc);
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: 2px solid #06ab20;
    transition: background 0.3s ease, transform 0.2s ease;
}
.back-btn .material-icons {
    font-size: 1.2rem;
    margin-right: 6px;
}
.back-btn:hover {
    background: linear-gradient(to right, #04961c, #155a99);
    transform: scale(1.05);
}

/* Brand Title */
.brand {
    text-align: center;
    flex: 1 1 auto;
}
.brand h1 {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1;
}
.brand span {
    font-size: 0.8rem;
}

/* Logos */
.logos {
    display: flex;
    gap: 0.8rem;
}
.logo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    background: #06ab20;
    border-radius: 50%;
    border: 2px solid #06ab20;
}

/* Centered Page Container */
.centered-page {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
}

/* Signup Card Styles - Expanded Width */
.signup-card {
    width: 100%;
    max-width: 600px;
    background: #ffffff;
    padding: 2rem 3rem;
    border-radius: 1rem;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.signup-card h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
    color: #1b1b1b;
}

/* Button */
button {
    background-color: #06ab20;
    border: none;
    border-radius: 8px;
    padding: 0.9rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: auto;
}
button:hover {
    opacity: 0.95;
    transform: scale(1.03);
}

/* Login Link */
.login-link {
    margin-top: .9rem;
    text-align: center;
    font-size: 0.9rem;
}
.login-link a {
    color: #68b40c;
    text-decoration: none;
}
.login-link a:hover {
    text-decoration: underline;
}

/* Media Queries for Responsiveness */
@media (max-width: 767px) {
    .name-row {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 0.3rem 1rem;
        flex-direction: row;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .back-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
    }

    .back-btn .material-icons {
        font-size: 1.4rem;
        margin: 0;
    }

    .brand h1 {
        font-size: 1rem;
    }

    .brand span {
        font-size: 0.65rem;
    }

    .logos {
        display: none;
    }

    .signup-card {
        padding: 1.5rem;
        border-radius: 0.75rem;
        min-height: initial;
    }

    .centered-page {
        padding: 1rem;
    }
}
