/* Card BLANCO con sombra pronunciada */
.card-gray {
    background: #f8f9fa !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
}

/* Logo responsive */
.monitor-logo {
    width: 150px;
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

/* Typography responsive */
.title-responsive {
    font-size: 1.75rem;
    line-height: 1.2;
}

.subtitle-responsive {
    font-size: 0.9rem;
}

.checkbox-label {
    font-size: 0.85rem;
}

.link-responsive {
    font-size: 0.85rem;
}

.footer-text {
    font-size: 0.7rem;
}

.mobile-footer-text {
    font-size: 0.75rem;
}

/* Modern input styling PARA CARD BLANCO */
.modern-input-white {
    border: 1px solid #d2d6da;
    border-radius: 10px;
    transition: all 0.3s ease;
    min-height: 45px;
    background: #fff;
}

.modern-input-white:focus-within {
    border-color: #fb6340;
    box-shadow: 0 0 0 0.2rem rgba(251, 99, 64, 0.15);
    transform: translateY(-2px);
}

.modern-input-white input {
    border: none !important;
    font-size: 0.95rem;
    padding: 0.625rem 0.75rem;
    background: transparent;
}

.modern-input-white input::placeholder {
    color: #adb5bd;
    font-size: 0.9rem;
}

.modern-input-white input:focus {
    box-shadow: none !important;
    background: transparent;
}

.modern-input-white .input-group-text {
    border: none;
    background: transparent;
}

.icon-input {
    padding: 0.625rem 0.75rem;
}

.icon-input i {
    font-size: 1rem;
}

/* Button responsive */
.btn-responsive {
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    min-height: 48px;
}

/* Button hover effect PRIMARY */
.hover-lift-primary {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #fb6340 0%, #f5365c 100%) !important;
    border: none;
    color: #fff !important;
}

.hover-lift-primary:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 15px rgba(251, 99, 64, 0.4) !important;
}

/* Floating shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: -75px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(90deg);
    }
    50% {
        transform: translateY(0) rotate(180deg);
    }
    75% {
        transform: translateY(30px) rotate(270deg);
    }
}

/* Form check styling personalizado */
.form-check-input {
    width: 2.5rem;
    height: 1.25rem;
    cursor: pointer;
}

.form-check-label {
    cursor: pointer;
    user-select: none;
}

.cursor-pointer {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* Links */
a {
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .card-white {
        margin: 10px;
        border-radius: 15px !important;
    }

    .card-body {
        padding: 1.5rem !important;
    }

    .monitor-logo {
        width: 100px;
    }

    .title-responsive {
        font-size: 1.5rem;
    }

    .subtitle-responsive {
        font-size: 0.8rem;
    }

    .modern-input-white {
        min-height: 42px;
    }

    .modern-input-white input {
        font-size: 0.9rem;
        padding: 0.5rem 0.65rem;
    }

    .icon-input {
        padding: 0.5rem 0.65rem;
    }

    .icon-input i {
        font-size: 0.95rem;
    }

    .btn-responsive {
        font-size: 0.9rem;
        padding: 0.65rem 1.25rem;
        min-height: 44px;
    }

    .checkbox-label {
        font-size: 0.8rem;
    }

    .link-responsive {
        font-size: 0.8rem;
    }

    .footer-text {
        font-size: 0.65rem;
    }

    .shape {
        opacity: 0.3;
    }

    .shape-1 {
        width: 200px;
        height: 200px;
    }

    .shape-2 {
        width: 150px;
        height: 150px;
    }

    .shape-3 {
        width: 100px;
        height: 100px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .monitor-logo {
        width: 120px;
    }

    .title-responsive {
        font-size: 1.65rem;
    }

    .shape {
        opacity: 0.4;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .monitor-logo {
        width: 140px;
    }

    .title-responsive {
        font-size: 1.85rem;
    }

    .hover-lift-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(251, 99, 64, 0.4) !important;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .monitor-logo {
        width: 150px;
    }

    .title-responsive {
        font-size: 2rem;
    }

    .subtitle-responsive {
        font-size: 1rem;
    }

    .modern-input-white {
        min-height: 48px;
    }

    .hover-lift-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(251, 99, 64, 0.4) !important;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .hover-lift-primary:hover {
        transform: none;
    }

    .modern-input-white:focus-within {
        transform: none;
    }

    .cursor-pointer {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Landscape orientation for mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .min-vh-100 {
        min-height: auto !important;
        padding: 2rem 0;
    }

    .card-body {
        padding: 1.5rem !important;
    }

    .monitor-logo {
        width: 80px;
    }

    .mb-3, .mb-md-4 {
        margin-bottom: 0.75rem !important;
    }

    .title-responsive {
        font-size: 1.25rem;
    }

    .subtitle-responsive {
        font-size: 0.75rem;
    }
}

/* Prevent zoom on input focus for iOS */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    select,
    textarea,
    input {
        font-size: 16px !important;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .monitor-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}