/* 
 * Mobile Enquiry Drawer CSS
 * Slide-up drawer for mobile enquiry form
 */

.tc-mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tc-mobile-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.tc-mobile-drawer {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 2001;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 85vh;
    overflow-y: auto;
    padding: 30px 15px 20px;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.1);
}

.tc-mobile-drawer.open {
    bottom: 0;
}

@media (min-width: 768px) {
    .tc-mobile-drawer {
        max-width: 500px;
        top: 50%;
        left: 50% !important;
        bottom: auto;
        transform: translate(-50%, -45%) scale(0.95);
        opacity: 0;
        visibility: hidden;
        border-radius: 30px;
        padding: 40px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .tc-mobile-drawer.open {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, -50%) scale(1);
    }

    .tc-mobile-drawer-overlay {
        backdrop-filter: blur(8px);
        background: rgba(4, 44, 97, 0.4);
    }
}

.tc-drawer-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: #F3F4F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4B5563;
    cursor: pointer;
    font-size: 16px;
}

.tc-drawer-header {
    margin-bottom: 12px;
    padding-right: 30px;
}

.tc-drawer-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.2;
    padding: 0 4px;
    /* Slight horizontal padding */
}

.tc-drawer-badge-wrap {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.tc-drawer-badge {
    padding: 4px 12px;
    background: #EFF6FF;
    color: #002e61;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    border: 1px solid #b8d6ff;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Form Styles */
.tc-drawer-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.tc-drawer-form input,
.tc-drawer-form select {
    width: 100%;
    padding: 14px 16px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    font-size: 15px;
    color: #1F2937;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tc-drawer-form input:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(4, 44, 97, 0.1);
}

.tc-drawer-submit {
    background: linear-gradient(135deg, #fd014f, #fd014f);
    color: #fff;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 17px;
    border: none;
    margin-top: 10px;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(234, 88, 12, 0.3);
    transition: all 0.3s ease;
    display: block;
    width: 100%;
}

.tc-drawer-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -3px rgba(234, 88, 12, 0.4);
}

.tc-drawer-trust-section {
    margin-top: 25px;
    border-top: 2px solid #e3e3e3;
    /* More visible line */
    padding-top: 15px;
}

.tc-drawer-trust-title {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tc-drawer-trust-grid {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.tc-trust-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* Vertical for better fit */
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
}

.tc-trust-item i {
    font-size: 18px;
    color: #fd014f;
}

.tc-trust-item span {
    font-size: 9px;
    font-weight: 700;
    color: #4B5563;
    line-height: 1.2;
}