﻿/* Single Column Login Styles */
:root {
    --primary-color: #667eea;
    --primary-dark: #5a67d8;
    --secondary-color: #764ba2;
    --text-color: #2d3748;
    --text-light: #718096;
    --border-color: #e2e8f0;
    --bg-light: #f7fafc;
    --white: #ffffff;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

/*body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0;
}*/

.login-container.single-column {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.login-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.logo {
    margin-bottom: 8px;
}

.welcome-section {
    margin-bottom: 40px;
}

.welcome-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.welcome-subtitle {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
    width: 100%;
    margin-bottom: 12px;
    cursor: pointer;
}

    .btn-social:hover {
        border-color: var(--primary-color);
        background: var(--bg-light);
    }

    .btn-social.btn-google {
        border-color: #ddd;
    }

    .btn-social .google-icon {
        width: 18px;
        height: 18px;
    }

.divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
    color: var(--text-light);
}

    .divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: var(--border-color);
    }

    .divider span {
        background: var(--white);
        padding: 0 16px;
        font-size: 14px;
        position: relative;
    }

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
    transition: all 0.2s;
    box-sizing: border-box;
}

    .form-control:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

.btn-primary {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--primary-color);
    color: white;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }

.btn-login {
    margin-top: 8px;
}

.link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

    .link:hover {
        text-decoration: underline;
    }

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    text-align: center;
}

.alert-danger {
    background: #fed7d7;
    color: #c53030;
    border: 1px solid #fc8181;
}

.alert-success {
    background: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.terms {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.text-muted {
    color: var(--text-light) !important;
}

.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 16px;
}

.mb-4 {
    margin-bottom: 24px;
}

.mb-5 {
    margin-bottom: 32px;
}

.mb-6 {
    margin-bottom: 40px;
}

/* Responsive */
@media (max-width: 480px) {
    .login-card {
        padding: 32px 24px;
        box-shadow: none;
        /*border: 1px solid var(--border-color);*/
    }

    body {
        padding: 16px;
        background: var(--white);
    }
}




/* Additional styles for the second design */

.social-login {
    margin-bottom: 32px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: #333;
    font-weight: 500;
    transition: all 0.2s;
    width: 100%;
    margin-bottom: 12px;
}

    .btn-social:hover {
        border-color: #4285f4;
        background: #f8f9fa;
    }

    .btn-social svg {
        width: 18px;
        height: 18px;
    }

.brand-logo {
    margin-top: 40px;
}

.login-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.login-subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 32px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    /*text-transform: uppercase;*/
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.form-control {
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s;
}

    .form-control:focus {
        border-color: #4285f4;
        box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
        outline: none;
    }

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 16px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }

.divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
}

    .divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: #e0e0e0;
    }

    .divider span {
        background: white;
        padding: 0 16px;
        color: #999;
        font-size: 14px;
        position: relative;
    }
