@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@300;400;500;600&display=swap');
body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Libre Franklin', sans-serif;
    margin: 0;
    overflow: hidden;
    position: relative;
    color: #1a1a1a;
    box-sizing: border-box;
}
*,
*::before,
*::after {
    box-sizing: inherit;
}
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    pointer-events: none;
}
.login-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: url(#frosted) blur(10px);
    -webkit-backdrop-filter: url(#frosted) blur(10px);
    border-radius: 40px;
    padding: 3.5rem 3rem;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.3),
        0 20px 50px rgba(0, 0, 0, 0.15);
    text-align: center;
    border: none;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-top-color: rgba(255, 255, 255, 0.7);
    border-left-color: rgba(255, 255, 255, 0.7);
}
.logo-large {
    font-size: 2.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #1a1a1a;
    letter-spacing: -0.04em;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}
.intro-text {
    font-weight: 300;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 2.5rem;
    line-height: 1.4;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
}
.login-btn {
    width: 100%;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: #000;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-family: 'Libre Franklin', sans-serif;
    margin-bottom: 1rem;
}
.login-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #fff;
}
.login-btn:active {
    transform: translateY(0);
}
.divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    color: #555;
    font-size: 0.8rem;
    font-weight: 400;
}
.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}
.divider::before {
    margin-right: 1.5rem;
}
.divider::after {
    margin-left: 1.5rem;
}
#role-selection {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}
.role-header {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #111;
}
.role-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.role-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}
.role-btn:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: #fff;
    transform: translateX(4px);
}
.role-btn-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 1.2rem;
}
.role-btn-text {
    font-size: 1.1rem;
    font-weight: 400;
    color: #111;
}
.fade-in {
    animation: fadeIn 0.4s ease forwards;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.loader {
    width: 20px;
    height: 20px;
    border: 2px solid #666;
    border-bottom-color: #000;
    border-radius: 50%;
    display: inline-block;
    animation: rotation 1s linear infinite;
}
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
