/* auth.css - Styles for Login and Signup Pages */

.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 120px 20px 50px;
    background-color: #f4f4f4;
}

.auth-box {
    background: #ffffff;
    padding: 40px 50px;
    border: 2px solid #000000;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.auth-box h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000000;
}

.message {
    padding: 15px;
    border-radius: 10px;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: left;
}
.message.error {
    background-color: #ffebee;
    color: #c62828;
}
.message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
}
.message a {
    color: #ef472c;
    font-weight: bold;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group .material-symbols-outlined {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: #888;
    transition: color 0.3s ease;
}

.auth-input {
    width: 100%;
    padding: 15px 20px 15px 55px;
    border: 2px solid #ccc;
    border-radius: 25px;
    font-size: 16px;
    font-family: 'JetBrains Mono', monospace;
    transition: border-color 0.3s ease;
}

.auth-input:focus {
    outline: none;
    border-color: #ef472c;
}

.auth-input:focus + .material-symbols-outlined {
    color: #ef472c;
}

.btn-submit {
    width: 100%;
    background: #ef472c;
    color: white;
    padding: 15px 30px;
    border: 2px solid #ef472c;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'JetBrains Mono', monospace;
}

.btn-submit:hover {
    background: #000000;
    border-color: #000000;
    transform: translateY(-2px);
}

.auth-footer {
    margin-top: 25px;
    font-size: 15px;
}

.auth-footer a {
    color: #ef472c;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* --- Styles for Login Page Layout --- */
.auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    width: 100%;
    max-width: 1100px;
}

.auth-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* Needed for floating elements */
}

/* Styles for the store preview card */
.store-preview {
    background: #ffffff;
    border: 3px solid #000000;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 350px;
    position: relative;
    z-index: 2;
}

.store-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ef472c;
    border: 3px solid #000000;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 24px;
}

.store-name {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 5px;
}

.store-description {
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
    font-size: 14px;
}

.store-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.store-link {
    background: #ffffff;
    color: #000000;
    padding: 12px 20px;
    border: 2px solid #000000;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.store-link:hover {
    background: #ef472c;
    color: white;
    border-color: #ef472c;
    transform: translateY(-2px);
}

/* --- NEW Animation Styles --- */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.float-shape {
    position: absolute;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    animation: float 8s ease-in-out infinite;
}

.shape1 {
    width: 100px;
    height: 50px;
    top: 10%;
    left: -20%;
    animation-delay: 0s;
}

.shape2 {
    width: 60px;
    height: 60px;
    bottom: 15%;
    right: -15%;
    border-radius: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-25px); }
}


/* Responsive styles */
@media (max-width: 992px) {
    .auth-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .auth-visual {
        order: -1;
        padding-top: 50px;
        min-height: 350px;
    }
    
    .auth-box {
        padding: 40px;
    }

    .shape1, .shape2 {
       display: none; /* Hide floating elements on mobile to save space */
    }
}