﻿/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification\
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a {
    color: #0077cc;
}

.form-control:focus {
    border-color: #0077cc;
    outline: black auto 1px;
    box-shadow: none;
}

.form-check-input:focus {
    border-color: #0077cc;
    box-shadow: none;
    outline: black auto 1px;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

    .btn-primary:focus {
        box-shadow: none;
        outline: black auto 1px;
    }

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn-link.nav-link:focus {
    outline: black auto 1px;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.container {
    max-width: 960px;
}

.pricing-header {
    max-width: 700px;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    overflow: scroll;
    white-space: nowrap;
    line-height: 60px;
}
/* Login: mismo diseño que Adaptix (Adaptix/wwwroot/css/site.css, "Login Page Styles - Modern Login Design") */
body:has(.modern-login-wrapper) {
    margin-bottom: 0;
}

    body:has(.modern-login-wrapper) main {
        padding-bottom: 0 !important;
    }

.modern-login-wrapper {
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8fafc;
}

    .modern-login-wrapper * {
        box-sizing: border-box;
    }

    .modern-login-wrapper .login-container {
        min-height: 100vh;
        display: flex;
    }

    /* Left Section - Welcome */
    .modern-login-wrapper .welcome-section {
        flex: 1;
        background: linear-gradient(135deg, #00a3b5 0%, #007a87 50%, #005c66 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 3rem;
        color: white;
        position: relative;
        overflow: hidden;
    }

        .modern-login-wrapper .welcome-section::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="20" cy="20" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            opacity: 0.3;
        }

    .modern-login-wrapper .welcome-content {
        position: relative;
        z-index: 1;
        max-width: 500px;
    }

    .modern-login-wrapper .brand-header {
        text-align: center;
        margin-bottom: 2rem;
    }

    .modern-login-wrapper .company-logo {
        display: flex;
        justify-content: center;
        margin: 2rem 0;
    }

        .modern-login-wrapper .company-logo img {
            max-width: 300px;
            height: auto;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s ease;
            background: white;
            padding: 1rem;
        }

            .modern-login-wrapper .company-logo img:hover {
                transform: scale(1.05);
            }

    .modern-login-wrapper .brand-info .brand-title {
        font-size: 2.5rem;
        font-weight: 700;
        margin: 0;
        color: white;
        letter-spacing: -0.02em;
    }

    .modern-login-wrapper .brand-info .brand-subtitle {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.8);
        margin: 0;
        font-weight: 400;
    }

    .modern-login-wrapper .welcome-text h2 {
        font-size: 3rem;
        font-weight: 700;
        line-height: 1.1;
        margin: 0 0 1.5rem 0;
        color: white;
        letter-spacing: -0.02em;
    }

    .modern-login-wrapper .welcome-text p {
        font-size: 1.2rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.9);
        margin: 0;
        font-weight: 400;
    }

    /* Right Section - Form */
    .modern-login-wrapper .form-section {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 3rem;
        background: white;
    }

    .modern-login-wrapper .form-container {
        width: 100%;
        max-width: 400px;
    }

    .modern-login-wrapper .form-header {
        text-align: center;
        margin-bottom: 2rem;
    }

        .modern-login-wrapper .form-header h2 {
            font-size: 2rem;
            font-weight: 600;
            color: #1a202c;
            margin: 0 0 0.5rem 0;
        }

        .modern-login-wrapper .form-header p {
            color: #718096;
            font-size: 1rem;
            margin: 0;
        }

    .modern-login-wrapper .form-group {
        margin-bottom: 1.5rem;
    }

        .modern-login-wrapper .form-group label {
            display: block;
            font-size: 0.875rem;
            font-weight: 500;
            color: #374151;
            margin-bottom: 0.5rem;
        }

    .modern-login-wrapper .form-input {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 2px solid #e5e7eb;
        border-radius: 8px;
        font-size: 1rem;
        transition: all 0.2s ease;
        background: #ffffff;
    }

        .modern-login-wrapper .form-input:focus {
            outline: none;
            border-color: rgb(5, 39, 103);
            box-shadow: 0 0 0 3px rgba(5, 39, 103, 0.1);
        }

    .modern-login-wrapper .password-wrapper {
        position: relative;
    }

    .modern-login-wrapper .password-toggle {
        position: absolute;
        right: 0.75rem;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.25rem;
        color: #6b7280;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modern-login-wrapper .eye-icon {
        color: #6b7280;
        transition: color 0.2s ease;
    }

    .modern-login-wrapper .password-toggle:hover .eye-icon {
        color: rgb(5, 39, 103);
    }

    .modern-login-wrapper .form-options {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }

    .modern-login-wrapper .checkbox-container {
        display: flex;
        align-items: center;
        cursor: pointer;
        font-size: 0.875rem;
        color: #374151;
    }

        .modern-login-wrapper .checkbox-container input {
            margin: 0;
            margin-right: 0.5rem;
        }

    .modern-login-wrapper .forgot-link {
        font-size: 0.875rem;
        color: rgb(5, 39, 103);
        text-decoration: none;
        font-weight: 500;
    }

        .modern-login-wrapper .forgot-link:hover {
            text-decoration: underline;
        }

    .modern-login-wrapper .login-btn {
        width: 100%;
        padding: 0.875rem 1rem;
        background: linear-gradient(135deg, #00a3b5 0%, #007a87 100%);
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
        margin-bottom: 1.5rem;
    }

        .modern-login-wrapper .login-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 163, 181, 0.3);
        }

    .modern-login-wrapper .divider {
        text-align: center;
        margin: 1.5rem 0;
        position: relative;
    }

        .modern-login-wrapper .divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: #e5e7eb;
        }

        .modern-login-wrapper .divider span {
            background: white;
            padding: 0 1rem;
            color: #6b7280;
            font-size: 0.875rem;
            position: relative;
        }

    .modern-login-wrapper .social-buttons {
        display: flex;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .modern-login-wrapper .social-btn {
        flex: 1;
        padding: 0.75rem;
        border: 2px solid #e5e7eb;
        border-radius: 8px;
        background: white;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-size: 0.875rem;
        font-weight: 500;
        color: #374151;
    }

        .modern-login-wrapper .social-btn:hover {
            border-color: #d1d5db;
            background: #f9fafb;
        }

    .modern-login-wrapper .signup-link {
        text-align: center;
        font-size: 0.875rem;
        color: #6b7280;
    }

        .modern-login-wrapper .signup-link a {
            color: rgb(5, 39, 103);
            text-decoration: none;
            font-weight: 500;
        }

            .modern-login-wrapper .signup-link a:hover {
                text-decoration: underline;
            }

    .modern-login-wrapper .validation-message {
        color: #dc2626;
        font-size: 0.75rem;
        margin-top: 0.25rem;
        display: block;
    }

    .modern-login-wrapper .alert {
        padding: 0.75rem;
        border-radius: 8px;
        margin-bottom: 1rem;
        border: none;
    }

    .modern-login-wrapper .alert-danger {
        background: #fef2f2;
        color: #dc2626;
        border: 1px solid #fecaca;
    }

/* Responsive Design for Login */
@media (max-width: 1024px) {
    .modern-login-wrapper .login-container {
        flex-direction: column;
    }

    .modern-login-wrapper .welcome-section {
        min-height: 40vh;
        padding: 2rem;
    }

    .modern-login-wrapper .welcome-text h2 {
        font-size: 2.5rem;
    }

    .modern-login-wrapper .form-section {
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    .modern-login-wrapper .welcome-section {
        padding: 1.5rem;
    }

    .modern-login-wrapper .welcome-text h2 {
        font-size: 2rem;
    }

    .modern-login-wrapper .form-section {
        padding: 1.5rem;
    }

    .modern-login-wrapper .social-buttons {
        flex-direction: column;
    }
}
/* Celular: 16px en los campos para que iOS no haga zoom al tocarlos */
@media (max-width: 767.98px) {
    .modern-login-wrapper .form-input {
        font-size: 16px;
    }
}
