﻿:root {
    --primary-color: #405189;
    --secondary-color: #4a5ba5;
    --light-color: #f3f3f9;
    --text-color: #495057;
    --border-color: #e2e5e8;
}
.container-fluid {
    padding: 0 !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.reset-password-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(240deg, var(--primary-color) 50%, var(--light-color));
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.texture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/Content/Images/cover-pattern.png');
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none; /* Permite hacer clic a través de la capa */
}
.reset-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    width: 95%;
    max-width: 1100px;
    height: 650px;
    max-height: 90vh;
    box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
    border-radius: 10px;
    overflow: hidden;
    background: white;
}

.panel-imagen {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-width: 0;
    position: relative;
    background: linear-gradient(rgba(64, 81, 137, 0.9), rgba(74, 91, 165, 0.8)), url('https://owfiles.s3.us-west-2.amazonaws.com/Imagenes/registros-unplash.avif');
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: white;
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

    .logo-container img {
        max-height: 80px;
        width: auto;
        margin-bottom: 20px;
    }

.panel-imagen .nombreTenant {
    text-align: center;
    color: white;
    font-size: 14px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    backdrop-filter: blur(5px);
    margin-top: auto;
    width: 100%;
}

.image-content {
    text-align: center;
    max-width: 400px;
}

    .image-content h2 {
        font-size: 28px;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .image-content p {
        font-size: 16px;
        line-height: 1.6;
        opacity: 0.9;
    }

.icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    border: 3px solid white;
}

    .icon-circle i {
        font-size: 36px;
    }

.panel-form {
    flex: 1;
    background-color: white;
    padding: 30px 40px;
    min-width: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.reset-header {
    text-align: center;
    margin-bottom: 30px;
}

    .reset-header h1 {
        color: #405189;
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .reset-header p {
        color: #6c757d;
        font-size: 16px;
    }
.create-account-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.reset-form {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: var(--text-color);
        font-size: 14px;
    }

.input-with-icon {
    position: relative;
}

    .input-with-icon i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #6c757d;
        z-index: 2;
    }

.form-control {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s;
    background-color: #f8f9fa;
    color: var(--text-color);
}

    .form-control:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(64, 81, 137, 0.1);
        background-color: white;
    }

    .form-control[readonly] {
        background-color: #e9ecef;
        cursor: not-allowed;
    }

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    cursor: pointer;
    z-index: 2;
    background: none;
    border: none;
    padding: 5px;
}

pwstrength_viewport_progress {
    margin-top: 8px;
    width: 100%;
    max-width: 280px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pwstrength_viewport_progress .progress {
    height: 6px;
    background-color: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.pwstrength_viewport_progress .progress-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
    .pwstrength_viewport_progress .progress-bar::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient( 90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100% );
        animation: shine 2s infinite;
    }

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}
.pwstrength_viewport_progress .password-verdict {
    position: absolute;
  /*  right: 10px;
    top: -20px;*/
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.pwstrength_viewport_progress .progress-bar-danger {
    background: linear-gradient(90deg, #dc3545, #e35d6a);
    box-shadow: 0 0 5px rgba(220, 53, 69, 0.4);
}

    .pwstrength_viewport_progress .progress-bar-danger .password-verdict {
        color: #dc3545;
    }
.pwstrength_viewport_progress .progress-bar-warning {
    background: linear-gradient(90deg, #fd7e14, #ff9b42);
    box-shadow: 0 0 5px rgba(253, 126, 20, 0.4);
}

    .pwstrength_viewport_progress .progress-bar-warning .password-verdict {
        color: #fd7e14;
    }
.pwstrength_viewport_progress .progress-bar-info {
    background: linear-gradient(90deg, #17a2b8, #3dc5d8);
    box-shadow: 0 0 5px rgba(23, 162, 184, 0.4);
}

    .pwstrength_viewport_progress .progress-bar-info .password-verdict {
        color: #17a2b8;
    }

/* Excelente (76-100%) */
.pwstrength_viewport_progress .progress-bar-success {
    background: linear-gradient(90deg, #28a745, #4cd964);
    box-shadow: 0 0 5px rgba(40, 167, 69, 0.4);
}

    .pwstrength_viewport_progress .progress-bar-success .password-verdict {
        color: #28a745;
    }

.btn-reset {
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(64, 81, 137, 0.2);
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .btn-reset:hover {
        background: linear-gradient(to right, #374476, var(--primary-color));
        box-shadow: 0 6px 12px rgba(64, 81, 137, 0.25);
        transform: translateY(-2px);
    }

    .btn-reset:active {
        transform: translateY(0);
    }

.text-danger {
    color: #dc3545 !important;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.validation-summary-errors {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

    .validation-summary-errors ul {
        margin: 0;
        padding-left: 20px;
    }

.back-link {
    text-align: center;
    margin-top: 25px;
    color: #6c757d;
    font-size: 15px;
}

    .back-link a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 600;
    }

        .back-link a:hover {
            text-decoration: underline;
        }

.security-tips {
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    border-radius: 4px;
    margin-top: 25px;
    font-size: 14px;
}

    .security-tips h4 {
        color: var(--primary-color);
        margin-bottom: 10px;
        font-size: 16px;
    }

    .security-tips ul {
        margin: 0;
        padding-left: 20px;
        color: #6c757d;
    }

    .security-tips li {
        margin-bottom: 5px;
    }

/* Responsive */
@media (max-width: 992px) {
    .reset-wrapper {
        flex-direction: column;
        height: auto;
        max-height: none;
    }

    .panel-imagen {
        flex: none;
        height: 300px;
        width: 100%;
        padding: 30px 20px;
    }

    .panel-form {
        padding: 30px 20px;
    }

    .reset-header h1 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .image-content h2 {
        font-size: 24px;
    }

    .reset-form {
        max-width: 100%;
    }

    .panel-imagen {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .reset-header h1 {
        font-size: 24px;
    }

    .reset-header p {
        font-size: 14px;
    }

    .form-control {
        padding: 10px 12px 10px 40px;
    }

    .btn-reset {
        padding: 12px;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reset-form {
    animation: fadeIn 0.5s ease-out;
}

.icon-circle {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}
