/* css/layout/_auth-container.css */

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.auth-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 45px;
    border-radius: 24px !important; /* Increased from 16px to 24px for more rounded corners */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInScale 0.8s ease-out;
    position: relative;
    z-index: 2;
}

.auth-form h2 {
    text-align: center;
    color: var(--current-heading);
    margin-bottom: 40px;
    font-size: 2.6em;
    font-weight: 700;
    text-shadow: none;
}

.auth-link {
    text-align: center;
    margin-top: 35px;
    font-size: 1em;
    color: var(--current-text); /* Használd a témaváltozót! */
    opacity: 0.9;
    font-weight: 300;
}

.auth-link a {
    color: var(--current-secondary); /* Használd a témaváltozót! */
    font-weight: 600;
    transition: color var(--transition-speed) var(--transition-ease);
}
.auth-link a:hover {
    color: var(--current-primary); /* Használd a témaváltozót! */
}

/* Specifikusabb szabály a login/signup kártyákhoz */
.auth-container .auth-form {
    border-radius: 24px !important; /* Increased from 16px to 24px */
}

/* --- Modern Google Button Styles --- */
.social-login-section {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    padding: 14px 24px;
    background: #ffffff;
    color: #333333;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    font-family: 'Roboto', 'Segoe UI', sans-serif;
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #dadce0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
    color: #333333;
    text-decoration: none;
}

.btn-google:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Classic Google Logo Icon */
.btn-google .google-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Dark mode support for Google button */
body.dark-mode .btn-google {
    background: #2d3748;
    color: #e2e8f0;
    border-color: #4a5568;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

body.dark-mode .btn-google:hover {
    background: #374151;
    border-color: #6b7280;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    color: #f3f4f6;
}

/* Light mode specific adjustments */
body.light-mode .btn-google {
    background: #ffffff;
    color: #374151;
    border-color: #dadce0;
}

body.light-mode .btn-google:hover {
    background: #f8f9fa;
    border-color: #dadce0;
    color: #111827;
}

/* Dark mode specific adjustments for auth form headings */
body.dark-mode .auth-form h2 {
    color: #e2e8f0 !important;
    text-shadow: none !important;
}

/* Light mode specific adjustments for auth form headings */
body.light-mode .auth-form h2 {
    color: #1f2937 !important;
    text-shadow: none !important;
}

/* --- Responsive Styles --- */
@media (max-width: 480px) {
    .auth-form {
        padding: 30px 20px;
        border-radius: 20px !important;
    }
    
    .auth-form h2 {
        font-size: 2.2em;
        margin-bottom: 30px;
    }
    
    .btn-google {
        max-width: 100%;
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .btn-google .google-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 360px) {
    .auth-form {
        padding: 25px 15px;
        border-radius: 18px !important;
    }
    
    .auth-form h2 {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    
    .btn-google {
        padding: 10px 16px;
        font-size: 14px;
        gap: 8px;
    }
    
    .btn-google .google-icon {
        width: 16px;
        height: 16px;
    }
}