/**
 * Estilos de la app Generador de Contraseñas Seguras para WordPress
 *
 * @author Ingeniero Juan Pablo Llinás Ramírez
 * @copyright Puro Ingenio Samario
 */

:root {
    --pis-primary: #0d6efd;
    --pis-dark: #101828;
    --pis-muted: #667085;
    --pis-light: #f8fafc;
    --pis-border: #d0d5dd;
    --pis-success: #198754;
    --pis-warning: #ffc107;
    --pis-danger: #dc3545;
}

body {
    background: var(--pis-light);
    color: var(--pis-dark);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.app-wrapper {
    min-height: 100vh;
}

.hero-section {
    background:
        radial-gradient(circle at top left, rgba(13, 110, 253, 0.24), transparent 35%),
        linear-gradient(135deg, #0b1324 0%, #12284c 52%, #0d6efd 100%);
    color: #ffffff;
    padding: 72px 0;
}

.app-badge {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
}

.hero-section h1 {
    max-width: 760px;
    font-size: clamp(2.1rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 20px;
}

.hero-text {
    max-width: 680px;
    font-size: 1.22rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-note {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0;
}

.security-card,
.tool-card,
.info-panel,
.content-card,
.cta-card {
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(16, 24, 40, 0.12);
}

.security-card {
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.24);
    padding: 28px;
    backdrop-filter: blur(10px);
}

.security-card h2 {
    font-size: 1.45rem;
    font-weight: 800;
}

.tool-section {
    padding: 56px 0;
}

.tool-card,
.info-panel,
.content-card {
    background: #ffffff;
    border: 1px solid rgba(208, 213, 221, 0.7);
    padding: 32px;
}

.tool-card h2,
.info-panel h2,
.content-card h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.info-panel h3,
.content-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-top: 24px;
}

.option-box {
    height: 100%;
    border: 1px solid var(--pis-border);
    border-radius: 16px;
    padding: 14px 16px 14px 42px;
    background: #ffffff;
}

.option-box .form-check-input {
    margin-left: -26px;
}

.password-input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 1.05rem;
    min-height: 48px;
}

.strength-box {
    border: 1px solid var(--pis-border);
    border-radius: 16px;
    padding: 18px;
    background: #f9fafb;
}

.progress {
    height: 12px;
    border-radius: 999px;
}

.progress-bar {
    transition: width 0.25s ease;
}

.security-list {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.security-list li {
    margin-bottom: 10px;
}

.content-section {
    padding: 8px 0 56px;
}

.tip-card {
    height: 100%;
    padding: 22px;
    border: 1px solid var(--pis-border);
    border-radius: 18px;
    background: #f9fafb;
}

.tip-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.tip-card p {
    margin-bottom: 0;
    color: var(--pis-muted);
}

.cta-section {
    padding: 0 0 56px;
}

.cta-card {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: #ffffff;
    padding: 42px;
    text-align: center;
}

.cta-card h2 {
    font-weight: 800;
    margin-bottom: 14px;
}

.cta-card p {
    max-width: 860px;
    margin: 0 auto 24px;
    color: rgba(255, 255, 255, 0.9);
}

.app-footer {
    padding: 28px 0;
    background: #101828;
    color: rgba(255, 255, 255, 0.82);
    text-align: center;
    font-size: 0.95rem;
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 48px 0;
    }

    .tool-card,
    .info-panel,
    .content-card,
    .cta-card {
        padding: 24px;
        border-radius: 20px;
    }

    .password-input {
        font-size: 0.92rem;
    }
}


.hash-result {
    border: 1px solid var(--pis-border);
    border-radius: 18px;
    padding: 22px;
    background: #f9fafb;
}

.hash-result h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.hash-input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.92rem;
    word-break: break-all;
}