/* Contact Widget Styles */
#contact-widget {
    position: fixed;
    top: 28%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 9999;
}

#contact-trigger {
    background: #007bff;
    color: white;
    padding: 15px 20px;
    border-radius: 25px 25px 0 25px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

#contact-trigger:hover {
    background: #0056b3;
    transform: translateX(-5px);
}

#contact-trigger i {
    font-size: 18px;
}

#contact-panel {
    position: absolute;
    right: 0;
    width: 350px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateX(0);
}

.contact-panel-hidden {
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
}

.contact-panel-header {
    background: #007bff;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.service-info h4 {
    margin: 0;
    font-size: 16px;
}

.service-status {
    font-size: 12px;
    color: #d4edda;
}

.contact-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    margin-left: auto;
    padding: 5px;
}

.contact-panel-content {
    padding: 20px;
}

.contact-options {
    display: block;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007bff;
    flex-shrink: 0;
}

.contact-details h5 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 14px;
}

.phone-number {
    font-size: 18px;
    font-weight: bold;
    color: #007bff;
    margin: 5px 0;
}

.hours {
    font-size: 12px;
    color: #666;
    margin: 5px 0 10px 0;
    line-height: 1.4;
}

.email {
    font-size: 14px;
    color: #007bff;
    margin: 0;
}

.btn-callback {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.btn-callback:hover {
    background: #0056b3;
}

.contact-divider {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin: 15px 0;
    position: relative;
}

.contact-divider::before,
.contact-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #ddd;
}

.contact-divider::before {
    left: 0;
}

.contact-divider::after {
    right: 0;
}

/* Callback Form Styles */
.callback-form-hidden {
    display: none;
}

#callback-form h4 {
    margin: 0 0 20px 0;
    color: #333;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.phone-input {
    display: flex;
    gap: 10px;
}

#country-code {
    width: 80px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

#callback-form input[type="tel"],
#callback-form input[type="email"] {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 8px;
    font-weight: normal !important;
    font-size: 12px;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    margin-top: 2px;
}

.btn-submit {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
    font-size: 14px;
}

.btn-submit:hover {
    background: #0056b3;
}

.btn-return {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 14px;
}

.btn-return:hover {
    background: #5a6268;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #contact-widget {
        right: 10px;
    }
    
    #contact-trigger {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    #contact-panel {
        width: 300px;
        top: -200px;
    }
    
    .contact-panel-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    #contact-panel {
        width: calc(100vw - 20px);
        right: 10px;
    }
}
