/* Futuristic Login UI Styles */

:root {
    --glass-bg: rgba(6, 12, 26, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glow-color: rgba(59, 130, 246, 0.5);
    --accent-blue: #3b82f6;
}

body.futuristic-login {
    background: #020617;
    background-image: url('../images/login_bg.webp'); /* We will move the generated image here */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow-x: hidden;
    min-height: 100vh;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 3rem 1.5rem;
    position: relative;
    z-index: 10;
}

/* The Hexagonal / Clipped Corner Card */
.futuristic-card {
    width: 100%;
    max-width: 440px;
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    padding: 3rem 2.5rem;
    position: relative;

/* Wider register card */
.futuristic-card.register-card {
    max-width: 680px;
    padding: 2.5rem 2.5rem;
    clip-path: polygon(
        0% 8%, 
        5% 0%, 
        100% 0%, 
        100% 92%, 
        95% 100%, 
        0% 100%
    );
}

@media (max-width: 640px) {
    .futuristic-card.register-card {
        padding: 2rem 1.5rem;
        clip-path: none;
        border-radius: 1.5rem;
    }
}
    
    /* Clip path for the unique shape (Clipped top-left and bottom-right chamfers) */
    clip-path: polygon(
        0% 15%, 
        10% 0%, 
        100% 0%, 
        100% 85%, 
        90% 100%, 
        0% 100%
    );
    
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(59, 130, 246, 0.1);
    
    animation: fadeIn 1s ease-out;
}

/* Decorative side bars */
.futuristic-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 4px;
    background: linear-gradient(to bottom, transparent, var(--accent-blue), transparent);
    box-shadow: 0 0 15px var(--accent-blue);
}

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

.futuristic-card h2 {
    color: white;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.futuristic-card p.subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

/* Special Inputs */
.futuristic-input-group {
    margin-bottom: 1.5rem;
}

.futuristic-input-group label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.futuristic-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    color: white;
    transition: all 0.3s;
    outline: none;
}

.futuristic-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-blue);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.futuristic-select {
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    color: white;
    transition: all 0.3s;
    outline: none;
    cursor: pointer;
    font-size: 0.875rem;
}

.futuristic-select option {
    background: #0f172a;
    color: white;
    padding: 0.5rem;
}

.futuristic-select:focus {
    background: rgba(15, 23, 42, 0.98);
    border-color: var(--accent-blue);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

/* Buttons */
.login-with-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.option-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.option-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.submit-btn {
    width: 100%;
    background: white;
    color: black;
    border-radius: 9999px;
    padding: 0.8rem;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    margin-top: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.submit-btn:hover {
    transform: scale(1.02);
    background: #f8fafc;
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.2);
}

/* Links */
.footer-links {
    margin-top: 2rem;
    text-align: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}
