﻿/* ========================================
   PRICING.CSS - Complete styles with mobile responsiveness
   ======================================== */

/* Base Styles */
.mb-2, .my-2 {
    margin-bottom: .5rem !important;
}

p {
    line-height: 1.7;
}

.pricing-box {
    -webkit-box-shadow: 0px 5px 30px -10px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 5px 30px -10px rgba(0, 0, 0, 0.1);
    padding: 35px 50px;
    border-radius: 20px;
    position: relative;
}

    .pricing-box .plan {
        font-size: 34px;
    }

.pricing-badge {
    position: absolute;
    top: 0;
    z-index: 999;
    right: 0;
    width: 100%;
    display: block;
    font-size: 15px;
    padding: 0;
    overflow: hidden;
    height: 100px;
}

    .pricing-badge .badge {
        float: right;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        right: -67px;
        top: 17px;
        position: relative;
        text-align: center;
        width: 200px;
        font-size: 13px;
        margin: 0;
        padding: 7px 10px;
        font-weight: 500;
        color: #ffffff;
        background: #fb7179;
    }

h4 {
    font-size: 20px;
}

.me-2 {
    margin-right: .5rem !important;
}

.btn-disabled {
    background-color: #00adef66;
    border-color: #00adef66;
}

.mdi.mdi-account-multiple {
    font-style: normal;
}

.mdi.mdi-account {
    font-style: normal;
}

/* Login Page Specific Styles */
.row {
    padding-top: 5px;
}

.ezy__signin1-btn-submit {
    padding: 12px 30px;
    background-color: #333b7b;
    color: #ffffff;
}

    .ezy__signin1-btn-submit:hover {
        color: #ffffff;
        background-color: #4d569e;
    }

.ezy__signin1-btn {
    padding: 12px 30px;
}

    .ezy__signin1-btn,
    .ezy__signin1-btn * {
        color: #ffffff;
    }

        .ezy__signin1-btn:hover {
            color: #ffffff;
            background-color: #4d569e;
        }

.ezy__signin1-or-separator {
    position: relative;
}

    .ezy__signin1-or-separator hr {
        border-color: #333b7b;
        opacity: 0.15;
    }

    .ezy__signin1-or-separator span {
        background-color: #ffffff;
        color: #333b7b;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate3d(-50%, -50%, 0);
        opacity: 0.8;
    }

/* Mobile-specific input styling */
.mobile-input {
    font-size: 16px; /* Prevents zoom on iOS */
}

/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

/* Base mobile styles - Tablets and larger phones */
@media (max-width: 767.98px) {
    /* Reduce overall container padding on mobile */
    .container,
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Adjust main content padding */
    .row {
        padding-top: 2px;
        margin-left: -10px;
        margin-right: -10px;
    }

    /* Mobile-optimized pricing box */
    .pricing-box {
        padding: 20px 20px; /* Reduced from 35px 50px */
        margin: 10px;
        border-radius: 15px; /* Slightly smaller radius */
        box-shadow: 0px 3px 20px -8px rgba(0, 0, 0, 0.1);
    }

    /* Adjust heading sizes for mobile */
    .display-5 {
        font-size: 1.8rem; /* Smaller than desktop */
        margin-bottom: 1rem !important;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* Form elements spacing */
    .form-group {
        margin-bottom: 1rem !important;
    }

    .mb-4 {
        margin-bottom: 1rem !important;
    }

    .mb-5 {
        margin-bottom: 2rem !important;
    }

    .mt-1, .my-1 {
        margin-top: 0.5rem !important;
    }

    .pt-1 {
        padding-top: 0.5rem !important;
    }

    /* Button spacing and sizing */
    .btn {
        padding: 10px 20px; /* Slightly smaller buttons */
        margin-bottom: 0.75rem;
        font-size: 14px;
    }

    .ezy__signin1-btn-submit,
    .ezy__signin1-btn {
        padding: 14px 20px; /* Mobile-friendly touch targets */
        font-size: 16px;
        min-height: 48px;
    }

    /* Social login buttons */
    .btn.w-100.d-flex {
        padding: 12px 15px;
        min-height: 48px;
    }

        .btn.w-100.d-flex span:first-child {
            margin-right: 10px;
            flex-shrink: 0;
            font-size: 18px;
        }

        .btn.w-100.d-flex span:last-child {
            font-size: 14px;
        }

    /* Form controls */
    .form-control {
        padding: 12px 15px;
        font-size: 16px; /* Prevent zoom on iOS */
        border-radius: 8px;
        min-height: 48px;
    }

    .mobile-input {
        padding: 12px 15px;
        border-radius: 8px;
    }

    /* Labels */
    label {
        font-size: 14px;
        margin-bottom: 0.25rem !important;
    }

    /* Checkbox styling */
    .form-check {
        margin-bottom: 0.75rem;
    }

    /* Or separator */
    .ezy__signin1-or-separator {
        margin: 1.5rem 0; /* Reduced spacing */
    }

        .ezy__signin1-or-separator hr {
            margin: 1rem 0;
        }

    /* Footer text */
    .text-center.mt-4 {
        margin-top: 1.5rem !important;
    }

    .text-center.mt-3 {
        margin-top: 1.5rem !important;
    }

    .text-center p {
        font-size: 13px;
        line-height: 1.4;
    }

    /* Badge adjustments for mobile */
    .pricing-badge {
        height: 80px;
    }

        .pricing-badge .badge {
            font-size: 11px;
            padding: 5px 8px;
            right: -55px;
            top: 15px;
            width: 160px;
        }
}

/* Extra small devices - Phones in portrait */
@media (max-width: 575.98px) {
    .pricing-box {
        padding: 15px 15px; /* Even more compact */
        margin: 5px;
        border-radius: 12px;
    }

    .col-lg-6 {
        padding-left: 10px;
        padding-right: 10px;
    }

    .display-5 {
        font-size: 1.6rem;
    }

    .btn.w-100.d-flex span:first-child {
        font-size: 16px; /* Smaller icons */
        margin-right: 8px;
    }

    .btn.w-100.d-flex span:last-child {
        font-size: 13px;
    }

    .ezy__signin1-btn-submit,
    .ezy__signin1-btn {
        padding: 12px 16px;
        font-size: 15px;
    }

    .form-control,
    .mobile-input {
        padding: 10px 12px;
        font-size: 16px;
    }

    /* Tighter spacing for very small screens */
    .mb-5 {
        margin-bottom: 1.5rem !important;
    }

    .ezy__signin1-or-separator {
        margin: 1.25rem 0;
    }
}

/* Small tablets - Portrait tablets */
@media (min-width: 576px) and (max-width: 767.98px) {
    .pricing-box {
        padding: 25px 30px;
        margin: 15px;
    }

    .ezy__signin1-btn-submit,
    .ezy__signin1-btn {
        padding: 14px 25px;
        font-size: 15px;
    }
}

/* Ensure all interactive elements have proper touch targets */
@media (max-width: 767.98px) {
    .btn,
    .form-control,
    a:not(.btn-link) {
        min-height: 44px; /* Apple's recommended touch target size */
    }

    .btn-link {
        min-height: auto;
        padding: 8px 0;
        font-size: 14px;
    }

    /* Improve checkbox touch targets */
    .form-check-input {
        width: 1.25em;
        height: 1.25em;
        margin-top: 0.125em;
    }

    .form-check-label {
        padding-left: 0.25em;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
    .mb-5 {
        margin-bottom: 1rem !important;
    }

    .pricing-box {
        padding: 15px 25px;
    }

    .ezy__signin1-or-separator {
        margin: 1rem 0;
    }

    .text-center.mb-3 {
        margin-bottom: 1rem !important;
    }

    .display-5 {
        font-size: 1.5rem;
    }
}

/* Medium devices - Tablets */
@media (min-width: 768px) and (max-width: 991.98px) {
    .pricing-box {
        padding: 30px 40px;
    }

    .ezy__signin1-btn-submit,
    .ezy__signin1-btn {
        padding: 12px 25px;
    }
}

/* Large devices - Desktops */
@media (min-width: 992px) {
    /* Keep original desktop styles */
    .pricing-box {
        padding: 35px 50px;
    }

    .ezy__signin1-btn-submit,
    .ezy__signin1-btn {
        padding: 12px 30px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .pricing-box {
        box-shadow: 0px 3px 25px -8px rgba(0, 0, 0, 0.15);
    }
}

/* Additional utility classes for mobile-specific needs */
@media (max-width: 767.98px) {
    .mobile-p-sm {
        padding: 10px !important;
    }

    .mobile-m-sm {
        margin: 0.5rem !important;
    }

    .mobile-text-sm {
        font-size: 14px !important;
    }

    .mobile-btn {
        min-height: 48px;
        font-size: 16px;
    }

    /* Hide elements on mobile if needed */
    .d-mobile-none {
        display: none !important;
    }

    /* Show elements only on mobile */
    .d-mobile-block {
        display: block !important;
    }

    .d-mobile-flex {
        display: flex !important;
    }
}

/* Desktop-only utilities */
@media (min-width: 768px) {
    .d-mobile-none {
        display: block !important;
    }

    .d-mobile-block {
        display: none !important;
    }

    .d-mobile-flex {
        display: none !important;
    }
}
