/* 
 * Components CSS file for Sapaad theme
 * Contains styles for reusable components that can be used across different templates
 */


/* --- POS FOR RESTAURANTS SECTION STARTS --- */
/* CSS has been removed or reduced by using Tailwind CSS classes (if CSS is needed write between these two comments) */
/* --- POS FOR RESTAURANTS SECTION ENDS --- */

/* --- FAQ SECTION STARTS --- */
/* CSS has been removed and replaced by Tailwind CSS classes (if CSS is needed write between these two comments) */
/* --- FAQ SECTION ENDS --- */
  
/* --- MASTERCLASS SECTION STARTS --- */
.masterclass-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 16px;
    background: linear-gradient(90deg, #FF7A29 0%, #FF4ECD 100%);
    color: #000;
    transition: all 0.2s ease;
    border: none;
}

.masterclass-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 122, 41, 0.16);
}

@media (min-width: 768px) {
    .masterclass-btn {
        padding: 18px 40px;
        font-size: 18px;
    }
}
.masterclass-bg {
    background-image: url('../images/homepage/masterclass-bg-mobile.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
    opacity: 1;
  }
  @media (min-width: 768px) {
    .masterclass-bg {
      background-image: url('../images/homepage/masterclass-bg.jpg');
    }
  }
@media (min-width: 1200px) {
    .hide-overlay-lg-and-up {
        display: none;
    }
}
/* --- MASTERCLASS SECTION ENDS --- */

/* --- DEMO SIGNUP FORM SECTION STARTS --- */
/* Form gradient border container */
.form-gradient-border {
    padding: 40px;
    border-radius: 36px;
    display: flex;
    align-items: center;
    height: auto;
    width: auto;
    margin: 0 auto;
}

.form-gradient-border > .demo-signup-form {
    background: #fff;
    border-radius: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 600px;
    margin: 0;
    flex: 1 1 0%;
}

/* Form title */
.homepage-form-title {
    font-size: 21.6px;
    font-weight: 700;
    color: #f47c7c;
    text-align: left;
    margin-bottom: 11.2px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    text-fill-color: unset;
}

/* Form divider */
.homepage-form-divider {
    border: none;
    border-top: 2px solid #ffe0e0;
    margin-top: 1.6px;
    height: 0;
}

/* Form main container */
.homepage-form-main {
    display: flex;
    flex-direction: column;
    gap: 17.6px;
    margin-top: 17.6px;
}

/* Form field groups */
.homepage-field-group label {
    font-size: 17.28px;
    font-weight: 500;
    color: #222;
    margin-bottom: 4px;
    display: block;
    background: none;
}

.homepage-field-group input[type="text"],
.homepage-field-group input[type="email"],
.homepage-field-group input[type="tel"] {
    width: 100%;
    padding: 16.8px 18.4px;
    border-radius: 13.6px !important;
    border: 1.5px solid #e5e7eb;
    background: #fafbfc;
    font-size: 17.28px;
    color: #222;
    margin-top: 4px;
    transition: border 0.2s;
    font-weight: 500;
    box-sizing: border-box;
}

.homepage-field-group input:focus {
    border-color: #f47c7c;
    outline: none;
    background: #fff;
}

/* Submit button */
.wpcf7-form-control.wpcf7-submit {
    width: 100%;
    padding: 17.6px 0;
    border-radius: 10px;
    font-weight: 700;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 11.2px;
    box-shadow: 0 2px 8px rgba(255, 122, 41, 0.08);
    letter-spacing: 0.16px;
}

/* Spinner */
.wpcf7-spinner {
    margin-left: 8px;
}

/* ===== RESPONSIVE STYLES ===== */

/* Mobile styles */
@media (max-width: 991px) {
    .demo-signup-form {
        min-width: unset;
        max-width: 100%;
        margin-left: 0;
        margin-top: 24px;
        border-radius: 24px;
        padding: 16px 8px 16px 8px;
        min-height: unset;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    }
    
    .homepage-form-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .homepage-form-divider {
        margin-top: 0.1rem;
    }
    
    .homepage-field-group label {
        font-size: 0.95rem;
    }
    
    .homepage-field-group input[type="text"],
    .homepage-field-group input[type="email"],
    .homepage-field-group input[type="tel"] {
        font-size: 0.95rem;
        padding: 0.75rem 0.9rem;
        border-radius: 0.65rem !important;
    }
    
    .wpcf7-form-control.wpcf7-submit {
        font-size: 1rem;
        border-radius: 0.65rem !important;
        padding: 0.85rem 0;
    }
    
    .form-gradient-border {
        max-width: 100%;
        border-radius: 24px;
        padding: 2px;
        padding-bottom: 30px;
    }
    
    .form-gradient-border > .demo-signup-form {
        border-radius: 22px;
        padding: 1.5rem 0.75rem 1.25rem 0.75rem;
        max-width: 100%;
    }
}

/* Large desktop styles */
@media (min-width: 1400px) {
    .form-gradient-border {
        padding: 80px;
    }
} 
/* --- DEMO SIGNUP FORM SECTION ENDS --- */

/* Hero-v1 custom styles starts (add only if needed, otherwise use Tailwind) */
@media (min-width: 1024px) {
    .hero-v1-title {
        font-size: 3.5rem;
        line-height: 1.08;
    }
}
@media (max-width: 1024px) {
    section.relative.flex.md\:flex-row {
        min-height: 480px !important;
    }
    .md\:pl-20, .xl\:pl-32 { padding-left: 1.5rem !important; }
}
@media (max-width: 768px) {
    section.relative.flex.md\:flex-row {
        flex-direction: column !important;
        min-height: 0 !important;
    }
    .w-full.md\:w-1\/2 { width: 100% !important; }
    .px-6.md\:pl-20 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
    .mb-4 { margin-bottom: 1rem !important; }
    .mb-6 { margin-bottom: 1.25rem !important; }
    .relative.w-full.h-full.flex.items-center.justify-center {
        min-height: 220px !important;
    }
    img[alt="POS Device"] {
        min-height: 180px !important;
        max-height: 320px !important;
        border-radius: 1.25rem !important;
        object-fit: contain !important;
    }
}
html, body {
    overflow-x: hidden !important;
}
/* Hero-v1 custom styles ends */

.wpcf7-not-valid-tip {
    position: absolute;
    font-size: 14px;
}


/* Contact Form 7 Styles for Demo Signup */
.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 17.6px;
}

.homepage-field-group {
    position: relative;
    margin-bottom: 0;
}

.homepage-field-group label {
    position: absolute;
    left: 18.4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 500;
    color: #9ca3af;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    background: transparent;
    z-index: 2;
}

.homepage-field-group input[type="text"],
.homepage-field-group input[type="email"],
.homepage-field-group input[type="tel"] {
    width: 100%;
    padding: 24px 18.4px 12px 18.4px;
    border-radius: 6px !important;
    border: 1.5px solid #e5e7eb;
    background: #FFF;
    font-size: 17.28px;
    color: #222;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    margin: 0;
}

.homepage-field-group input:focus {
    border-color: #f47c7c;
    outline: none;
    background: #fff;
}

/* Floating label states */
.homepage-field-group input:focus + label,
.homepage-field-group input:not(:placeholder-shown) + label,
.homepage-field-group input.has-value + label,
.homepage-field-group.focused label,
.homepage-field-group.has-value label {
    top: 8px;
    transform: translateY(0);
    font-size: 12px;
    color: #f47c7c;
    background: #fff;
}


.wpcf7-spinner {
    margin-left: 8px;
}

/* Mobile responsive form styles */
@media (max-width: 991px) {
    .homepage-field-group label {
        font-size: 15px;
        left: 14px;
    }
    
    .homepage-field-group input[type="text"],
    .homepage-field-group input[type="email"],
    .homepage-field-group input[type="tel"] {
        font-size: 15px;
        padding: 20px 14px 10px 14px;
        border-radius: 10px !important;
    }
    
    .homepage-field-group input:focus + label,
    .homepage-field-group input:not(:placeholder-shown) + label,
    .homepage-field-group input.has-value + label,
    .homepage-field-group.focused label,
    .homepage-field-group.has-value label {
        top: 8px;
        font-size: 11px;
        left: 14px;
    }
    
    .wpcf7-form .wpcf7-submit {
        font-size: 1rem;
        border-radius: 0.65rem !important;
        padding: 0.85rem 0;
    }
}