/* Import base styles */
@import url('base.css');

body {
    background-color: #f8f9ff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.auth-page {
    background-image: url("img/homebg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: row;
    width: 800px;
    min-height: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-radius: 20px;
    margin: 20px;
    max-width: 100%;
}

.blue-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    background-image: url("img/signingradient.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 20px 0 0 20px;
    color: white;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.blue-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.blue-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.logo-container {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    width: 100px;
    height: 100px;
    background-color: white;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.logo span {
    font-size: 48px;
    font-weight: 700;
}

.app-name {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

/* Style for app-name when it's an image (SVG) */
img.app-name {
    width: auto;
    height: 28px; /* Increased for better visibility */
    margin-bottom: 5px;
    filter: brightness(0) invert(1); /* Make SVG white to match original text color */
}

.blue-tagline {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 40px;
    opacity: 0.9;
}

.welcome-text {
    max-width: 90%;
    margin: 0;
}

.welcome-text h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.welcome-text p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.85;
}

.auth-container {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 60px;
    overflow: hidden;
    align-items: center;
}


/* Shake animation now from base.css */

.auth-container h1 {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
    text-align: center;
}

.auth-container > p {
    color: #666;
    font-size: 15px;
    margin-bottom: 30px;
    text-align: center;
}






@media (max-width: 968px) {
    .container {
        flex-direction: column;
        width: 90%;
        max-width: 500px;
        margin: 20px auto;
    }

    .blue-container {
        border-radius: 20px 20px 0 0;
        padding: 30px 20px;
        min-height: 320px;
    }

    .auth-container {
        padding: 30px 25px;
    }

    .welcome-text {
        max-width: 100%;
    }

    .logo {
        width: 80px;
        height: 80px;
    }

    .logo span {
        font-size: 36px;
    }

    .app-name {
        font-size: 26px;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
        margin: 15px auto;
        min-height: auto;
    }

    .blue-container {
        padding: 25px 15px;
        min-height: 280px;
    }

    .blue-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 240px;
    }

    .logo-container {
        margin-bottom: 30px;
    }

    .logo {
        width: 70px;
        height: 70px;
    }

    .logo span {
        font-size: 30px;
    }

    .app-name {
        font-size: 24px;
    }

    .blue-tagline {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .welcome-text h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .welcome-text p {
        font-size: 14px;
    }

    .auth-container {
        padding: 20px 15px;
    }

    .auth-container h1 {
        font-size: 24px;
    }

    .auth-container > p {
        font-size: 14px;
        margin-bottom: 20px;
    }

}

@media (max-width: 350px) {
    .container {
        width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .blue-container {
        border-radius: 0;
        min-height: 260px;
    }

    .logo {
        width: 60px;
        height: 60px;
    }

    .logo span {
        font-size: 26px;
    }

    .welcome-text h2 {
        font-size: 18px;
    }

    .welcome-text p {
        font-size: 13px;
    }

    .auth-container h1 {
        font-size: 22px;
    }
}

/* Removed unused centered-flex-spacer */

/* Ensure the restore button doesn't inherit opacity from parent */

/* fadeIn and spin animations now from base.css */

@media (max-width: 768px) {
}

/* Removed unused modern-chips classes */







/* Removed unused app-navigation class */

/* Removed unused app-nav-item class */

/* Removed unused app-nav-item:hover */

/* Removed unused app-nav-item.active */

/* Removed unused app-nav-item i */

@keyframes screenFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sign-in buttons container */
.signin-buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin-top: 20px;
}

.signin-buttons-container button {
    width: 260px;
}

@media (max-width: 768px) {

    /* Removed unused app-navigation media query */

    /* Removed unused app-nav-item media query */
}