/* ============================================
   SISTEMA DE PAGOS - ESTILOS PRINCIPALES
   ============================================ */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-success: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* ============================================
   LOGIN PAGE STYLES
   ============================================ */

body.login-page {
    background: #f6f5f7;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    height: 100vh;
    margin: -20px 0 50px;
}

.login-page h1 {
    font-weight: bold;
    margin: 0;
}

.login-page h2 {
    text-align: center;
}

.login-page p {
    font-size: 14px;
    font-weight: 100;
    line-height: 20px;
    letter-spacing: 0.5px;
    margin: 20px 0 30px;
}

.login-page span {
    font-size: 12px;
}

.login-page a {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0;
}

.login-page button {
    border-radius: 20px;
    border: 1px solid #FF4B2B;
    background-color: #FF4B2B;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
    cursor: pointer;
}

.login-page button:active {
    transform: scale(0.95);
}

.login-page button:focus {
    outline: none;
}

.login-page button.ghost {
    background-color: transparent;
    border-color: #FFFFFF;
}

.login-page form {
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 50px;
    height: 100%;
    text-align: center;
}

.login-page input,
.login-page select {
    background-color: #eee;
    border: none;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
}

.login-page .container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25),
        0 10px 10px rgba(0, 0, 0, 0.22);
    position: relative;
    overflow: hidden;
    width: 768px;
    max-width: 100%;
    min-height: 600px;
}

.form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

.sign-in-container {
    left: 0;
    width: 50%;
    z-index: 2;
}

.container.right-panel-active .sign-in-container {
    transform: translateX(100%);
}

.sign-up-container {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}

.container.right-panel-active .sign-up-container {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    animation: show 0.6s;
}

@keyframes show {

    0%,
    49.99% {
        opacity: 0;
        z-index: 1;
    }

    50%,
    100% {
        opacity: 1;
        z-index: 5;
    }
}

.overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 100;
}

.container.right-panel-active .overlay-container {
    transform: translateX(-100%);
}

.overlay {
    background: #007bff;
    background: linear-gradient(to right, #0062cc, #007bff);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
    color: #FFFFFF;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.container.right-panel-active .overlay {
    transform: translateX(50%);
}

.overlay-panel {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    top: 0;
    height: 100%;
    width: 50%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.overlay-left {
    transform: translateX(-20%);
}

.container.right-panel-active .overlay-left {
    transform: translateX(0);
}

.overlay-right {
    right: 0;
    transform: translateX(0);
}

.container.right-panel-active .overlay-right {
    transform: translateX(20%);
}

.social-container {
    margin: 20px 0;
}

.social-container a {
    border: 1px solid #DDDDDD;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    height: 40px;
    width: 40px;
}

.scrollable-inputs {
    max-height: 350px;
    overflow-y: auto;
    width: 100%;
    padding-right: 5px;
}

.scrollable-inputs::-webkit-scrollbar {
    width: 5px;
}

.scrollable-inputs::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.scrollable-inputs::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

/* Mobile Responsiveness for Login */
@media (max-width: 768px) {
    body.login-page {
        margin: 0;
        height: auto;
        min-height: 100vh;
    }

    .login-page .container {
        width: 100%;
        min-height: 800px;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
        overflow: hidden;
    }

    .form-container {
        width: 100%;
        height: 70%;
        top: 30%;
        transition: all 0.6s ease-in-out;
    }

    .sign-in-container {
        left: 0;
        z-index: 2;
    }

    .container.right-panel-active .sign-in-container {
        transform: translateY(100%);
    }

    .sign-in-container {
        top: 30%;
        height: 70%;
    }

    .container.right-panel-active .sign-in-container {
        transform: translateY(100%);
        opacity: 0;
    }

    .sign-up-container {
        top: 0;
        height: 70%;
        opacity: 0;
        z-index: 1;
    }

    .container.right-panel-active .sign-up-container {
        transform: translateY(0);
        opacity: 1;
        z-index: 5;
        animation: showMobile 0.6s;
    }

    @keyframes showMobile {

        0%,
        49.99% {
            opacity: 0;
            z-index: 1;
        }

        50%,
        100% {
            opacity: 1;
            z-index: 5;
        }
    }

    .overlay-container {
        width: 100%;
        height: 30%;
        top: 0;
        left: 0;
        transition: transform 0.6s ease-in-out;
    }

    .container.right-panel-active .overlay-container {
        transform: translateY(233.33%);
    }

    .overlay {
        width: 100%;
        height: 200%;
        left: 0;
        top: -100%;
        transform: translateY(0);
        background: linear-gradient(to bottom, #0062cc, #007bff);
    }

    .container.right-panel-active .overlay {
        transform: translateY(50%);
    }

    .overlay-panel {
        width: 100%;
        height: 50%;
        padding: 0 20px;
        flex-direction: column;
    }

    .overlay-left {
        top: 0;
        transform: translateY(-20%);
    }

    .container.right-panel-active .overlay-left {
        transform: translateY(0);
    }

    .overlay-right {
        bottom: 0;
        top: auto;
        transform: translateY(0);
    }

    .container.right-panel-active .overlay-right {
        transform: translateY(20%);
    }

    form {
        padding: 0 20px;
    }

    .scrollable-inputs {
        max-height: 250px;
    }
}

/* ============================================
   DASHBOARD STYLES (Professional)
   ============================================ */

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: white;
    border-bottom: 1px solid #f0f0f0;
    padding: 1.5rem;
    border-radius: 15px 15px 0 0 !important;
    font-weight: 700;
    color: #333;
}

.card-body {
    padding: 1.5rem;
}

/* Stat Cards */
.stat-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #333;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    opacity: 0.1;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: translateY(-50%) scale(1.1);
    opacity: 0.2;
}

/* Stat Card Variants */
.stat-primary {
    border-left: 5px solid var(--primary-color);
}

.stat-primary .stat-value {
    color: var(--primary-color);
}

.stat-primary .stat-icon {
    color: var(--primary-color);
}

.stat-success {
    border-left: 5px solid var(--success-color);
}

.stat-success .stat-value {
    color: var(--success-color);
}

.stat-success .stat-icon {
    color: var(--success-color);
}

.stat-warning {
    border-left: 5px solid var(--warning-color);
}

.stat-warning .stat-value {
    color: var(--warning-color);
}

.stat-warning .stat-icon {
    color: var(--warning-color);
}

.stat-info {
    border-left: 5px solid var(--info-color);
}

.stat-info .stat-value {
    color: var(--info-color);
}

.stat-info .stat-icon {
    color: var(--info-color);
}

/* Tables */
.table {
    margin-bottom: 0;
}

.table thead th {
    border-top: none;
    border-bottom: 2px solid #f0f0f0;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table td {
    vertical-align: middle;
    border-top: 1px solid #f8f9fa;
    padding: 1rem 0.75rem;
}

.table-hover tbody tr:hover {
    background-color: #f8f9fa;
}

/* Badges */
.badge {
    padding: 0.5em 0.8em;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.75rem;
}

.badge-success {
    background-color: #d4edda;
    color: #155724;
}

.badge-warning {
    background-color: #fff3cd;
    color: #856404;
}

.badge-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.badge-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

/* Buttons */
.btn {
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.btn-sm {
    padding: 0.25rem 1rem;
    font-size: 0.875rem;
}

/* Main Content Area */
.main-content {
    background-color: #f6f5f7;
    min-height: calc(100vh - 70px);
    padding: 2rem 0;
}