/* Top Banner Mobile Widget Styles */

.icw-top-banner-mobile-wrapper {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    box-sizing: border-box;
    overflow: hidden;
    padding-bottom: 50px;
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* 1. Top Photo Banner & Wave Overlay */
.icw-tbm-photo-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.icw-tbm-photo {
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.icw-tbm-wave-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
}

/* 2. Main Mobile Container */
.icw-tbm-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

/* 3. Guarantee Badge (Overlapping the photo) */
.icw-tbm-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 10px 16px;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    width: 100%;
    max-width: 440px;
    margin-top: -65px;
    margin-bottom: 24px;
    box-sizing: border-box;
    z-index: 15;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.icw-tbm-badge-logo {
    flex-shrink: 0;
}

.icw-tbm-badge-logo img {
    max-height: 54px;
    width: auto;
    display: block;
}

.icw-tbm-badge-content {
    display: flex;
    flex-direction: column;
}

.icw-tbm-badge-tagline {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #0284c7;
    margin-bottom: 2px;
}

.icw-tbm-badge-title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 4px;
}

.icw-tbm-badge-desc {
    font-size: 10px;
    line-height: 1.4;
    color: #475569;
}

/* 4. TrustPilot Review Pill */
.icw-tbm-trustpilot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #f8fafc;
    padding: 6px 16px;
    border-radius: 30px;
    text-decoration: none;
    margin-bottom: 20px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.icw-tbm-trustpilot:hover {
    transform: translateY(-2px);
    background-color: #f1f5f9;
}

.icw-tbm-tp-faces {
    display: flex;
    align-items: center;
}

.icw-tbm-tp-faces img {
    max-height: 24px;
    width: auto;
    display: block;
}

.icw-tbm-tp-stars-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.icw-tbm-tp-stars {
    font-size: 10px;
    color: #fbbf24;
    line-height: 1;
    margin-bottom: 2px;
}

.icw-tbm-tp-rating-text {
    font-size: 9px;
    font-weight: 700;
    color: #334155;
    line-height: 1;
}

.icw-tbm-tp-arrow {
    display: flex;
    align-items: center;
    color: #3b82f6;
}

.icw-tbm-tp-arrow svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

/* 5. Hero Header Section */
.icw-tbm-hero-header {
    text-align: center;
    max-width: 480px;
    margin-bottom: 25px;
}

.icw-tbm-title {
    font-size: 28px;
    font-weight: 800;
    color: #1e3a8a;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.icw-tbm-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

/* 6. Certifications Row */
.icw-tbm-certs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    width: 100%;
}

.icw-tbm-cert-item img {
    max-height: 38px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* 7. Feature Checklist */
.icw-tbm-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 440px;
    margin-bottom: 30px;
}

.icw-tbm-check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
}

.icw-tbm-check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #e0f2fe;
    color: #0284c7;
    flex-shrink: 0;
    margin-top: 2px;
}

.icw-tbm-check-icon svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
}

.icw-tbm-check-text {
    font-size: 13.5px;
    font-weight: 500;
    color: #334155;
    line-height: 1.4;
}

/* 8. Call to Action Button & Note */
.icw-tbm-cta-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 440px;
    margin-bottom: 35px;
}

.icw-tbm-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

.icw-tbm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.25);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.icw-tbm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(30, 58, 138, 0.35);
}

.icw-tbm-btn-arrow {
    display: flex;
    align-items: center;
}

.icw-tbm-btn-arrow svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Note with curved arrow next to button */
.icw-tbm-cta-note-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    width: 100%;
    justify-content: center;
}

.icw-tbm-cta-arrow-img {
    flex-shrink: 0;
}

.icw-tbm-cta-arrow-img img {
    max-height: 22px;
    width: auto;
    transform: rotate(5deg);
}

.icw-tbm-cta-note {
    font-size: 12px;
    font-style: italic;
    color: #64748b;
    line-height: 1.3;
}

/* 9. Quote Form Card */
.icw-tbm-form-card {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid #f1f5f9;
}

.icw-tbm-form-header {
    background-color: #e0f2fe;
    color: #0284c7;
    padding: 12px 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid #bae6fd;
    text-transform: capitalize;
}

.icw-tbm-premade-form {
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
}

.icw-tbm-form-row {
    display: flex;
    gap: 12px;
    width: 100%;
}

.icw-tbm-form-row .icw-tbm-form-field {
    flex: 1;
}

.icw-tbm-form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    position: relative;
}

.icw-tbm-form-field label {
    font-size: 11px;
    font-weight: 800;
    color: #0f172a;
}

.icw-tbm-form-field input,
.icw-tbm-form-field select,
.icw-tbm-form-field textarea {
    width: 100%;
    padding: 9px 12px;
    background-color: #eff6ff;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 12px;
    color: #334155;
    box-sizing: border-box;
    transition: all 0.3s ease;
    font-family: inherit;
}

.icw-tbm-form-field input:focus,
.icw-tbm-form-field select:focus,
.icw-tbm-form-field textarea:focus {
    outline: none;
    background-color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

/* Customize Select arrow wrapper/appearance */
.icw-tbm-form-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    padding-right: 30px;
}

/* Submit button */
.icw-tbm-submit-btn {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    background-color: #ef383f;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(239, 56, 63, 0.2);
}

.icw-tbm-submit-btn:hover {
    background-color: #dc2626;
    box-shadow: 0 6px 16px rgba(239, 56, 63, 0.3);
}

/* Form success & error banners */
.icw-tbm-form-alert {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.icw-tbm-form-alert-success {
    background-color: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.icw-tbm-form-alert-error {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
