/* ========================================
   PRUEBA GRATIS CSS - SalonBookIt
   Estilos ESPECIFICOS de la pagina de trial
   ======================================== */

/* === TRIAL HERO === */
.trial-hero {
    background: linear-gradient(135deg, var(--navy-900) 0%, #1a1612 100%);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.trial-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.trial-info h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}

.trial-info h1 span {
    color: var(--gold);
}

.trial-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    line-height: 1.6;
}

.trial-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 500;
}

.trial-badge svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.trial-features {
    display: grid;
    gap: 16px;
}

.trial-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.trial-feature svg {
    width: 20px;
    height: 20px;
    stroke: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.trial-feature strong {
    color: white;
}

/* === TRIAL FORM CARD === */
.trial-form-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.trial-form-header {
    text-align: center;
    margin-bottom: 24px;
}

.trial-form-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.trial-form-header p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.trial-form .form-group {
    margin-bottom: 16px;
}

.trial-form .form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 6px;
}

.trial-form .form-label span {
    color: #dc2626;
}

.trial-form .form-input,
.trial-form .form-select {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: var(--gray-50);
    color: var(--navy-900);
    transition: all 0.2s;
}

.trial-form .form-input:focus,
.trial-form .form-select:focus {
    outline: none;
    border-color: var(--gold);
    background: white;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.trial-form .btn-submit {
    width: 100%;
    padding: 14px 24px;
    background: var(--gold);
    color: var(--navy-900);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.trial-form .btn-submit:hover {
    background: #daa520;
    transform: translateY(-1px);
}

.trial-form .btn-submit svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.form-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 16px;
}

.form-disclaimer a {
    color: var(--gold);
    text-decoration: none;
}

/* === INCLUDED SECTION (Trial specific) === */
.included-section {
    padding: 80px 0;
    background: var(--gray-100);
}

.trial-included-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.trial-included-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all 0.2s;
}

.trial-included-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.trial-included-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.trial-included-icon svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

.trial-included-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.trial-included-card p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* === STEPS SECTION === */
.steps-section {
    padding: 80px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 48px;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: all 0.2s;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: var(--navy-900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* === RESPONSIVE TRIAL === */
@media (max-width: 968px) {
    .trial-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .trial-info h1 {
        font-size: 2.2rem;
    }

    .trial-included-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 576px) {
    .trial-hero {
        padding: 80px 0 40px;
    }

    .trial-info h1 {
        font-size: 1.8rem;
    }

    .trial-included-grid {
        grid-template-columns: 1fr;
    }

    .trial-badges {
        flex-direction: column;
    }
}

/* === MODAL === */
.trial-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.trial-modal.hidden {
    display: none;
}

.trial-modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
}

.trial-modal-content h3 {
    color: #dc2626;
    margin-bottom: 16px;
}

.trial-modal-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.trial-modal-content li {
    color: #64748b;
    margin-bottom: 8px;
}

/* === PASSWORD TOGGLE === */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .form-input {
    padding-right: 44px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: var(--gold);
}

.password-toggle svg {
    width: 18px;
    height: 18px;
}

.password-toggle .eye-open,
.password-toggle .eye-closed {
    display: block;
}

.password-toggle .eye-open.hidden,
.password-toggle .eye-closed.hidden {
    display: none;
}

.option-group-label.hidden {
    display: none;
}

.password-match-hint {
    display: block;
    font-size: 0.75rem;
    margin-top: 4px;
    min-height: 16px;
}

.password-match-hint.success {
    color: #22c55e;
}

.password-match-hint.error {
    color: #ef4444;
}

/* === SEARCHABLE SELECT === */
.searchable-select {
    position: relative;
}

.searchable-select-trigger {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: var(--gray-50);
    color: var(--navy-900);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s;
}

.searchable-select-trigger:hover {
    border-color: var(--gray-300);
}

.searchable-select-trigger svg {
    width: 16px;
    height: 16px;
    color: var(--gray-500);
    transition: transform 0.2s;
}

.searchable-select.open .searchable-select-trigger svg {
    transform: rotate(180deg);
}

.searchable-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    margin-top: 4px;
    overflow: hidden;
}

.searchable-select.open .searchable-select-dropdown {
    display: block;
}

.searchable-select-search {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.9rem;
    outline: none;
}

.searchable-select-search:focus {
    background: var(--gray-50);
}

.searchable-select-options {
    max-height: 220px;
    overflow-y: auto;
}

.option-group-label {
    padding: 8px 16px 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--gray-50);
}

.searchable-option {
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.15s;
    font-size: 0.9rem;
}

.searchable-option:hover {
    background: var(--gray-100);
}

.searchable-option.selected {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    font-weight: 600;
}

.searchable-option.hidden {
    display: none;
}

/* === BUTTON DISABLED STATE === */
.trial-form .btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* === PENDING PAGE === */
.trial-pending-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--navy-900) 0%, #1a1612 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 1.5rem 3rem;
}

.trial-pending-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 3rem;
    max-width: 580px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.trial-pending-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold) 0%, #daa520 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    animation: pulse-ring 2s ease-out infinite;
    position: relative;
}

.trial-pending-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.3;
    animation: pulse-ring-outer 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes pulse-ring-outer {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.4); opacity: 0; }
}

.trial-pending-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--navy-900);
    position: relative;
    z-index: 1;
}

.trial-pending-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.trial-pending-badge svg {
    width: 16px;
    height: 16px;
}

.trial-pending-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.trial-pending-subtitle {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.trial-pending-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gray-100);
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    color: var(--gray-700);
    font-size: 0.85rem;
}

.trial-pending-time svg {
    width: 18px;
    height: 18px;
    stroke: var(--gold);
}

.trial-pending-steps {
    display: flex;
    gap: 16px;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.trial-pending-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    flex: 1;
    max-width: 140px;
}

.trial-pending-step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.trial-pending-step.active .trial-pending-step-number {
    background: var(--gold);
    color: var(--navy-900);
}

.trial-pending-step.completed .trial-pending-step-number {
    background: #22c55e;
    color: white;
}

.trial-pending-step.completed .trial-pending-step-number svg {
    width: 14px;
    height: 14px;
    stroke: white;
}

.trial-pending-step-content h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy-900);
    margin: 0;
}

.trial-pending-step-content p {
    display: none;
}

.trial-pending-spam {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.trial-pending-spam svg {
    width: 18px;
    height: 18px;
    stroke: #d97706;
    flex-shrink: 0;
}

.trial-pending-spam p {
    font-size: 0.8rem;
    color: #92400e;
    margin: 0;
    line-height: 1.4;
}

.trial-pending-actions {
    margin-bottom: 1rem;
}

.trial-pending-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.trial-pending-btn-primary {
    background: var(--gold);
    color: var(--navy-900);
}

.trial-pending-btn-primary:hover {
    background: #daa520;
    transform: translateY(-2px);
}

.trial-pending-btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

.trial-pending-btn-secondary:hover {
    background: var(--gray-200);
}

.trial-pending-btn svg {
    width: 18px;
    height: 18px;
}

.trial-pending-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 1.5rem 0;
    color: var(--gray-400);
    font-size: 0.8rem;
}

.trial-pending-divider::before,
.trial-pending-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.trial-pending-help {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.trial-pending-help a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
}

.trial-pending-help a:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {
    .trial-pending-section {
        padding: 100px 1rem 2rem;
    }

    .trial-pending-card {
        padding: 1.5rem 1.25rem;
    }

    .trial-pending-icon {
        width: 64px;
        height: 64px;
    }

    .trial-pending-icon svg {
        width: 32px;
        height: 32px;
    }

    .trial-pending-title {
        font-size: 1.35rem;
    }

    .trial-pending-steps {
        gap: 8px;
    }

    .trial-pending-step-number {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .trial-pending-step-content h4 {
        font-size: 0.7rem;
    }
}
