/* Contact Widget Styles */
.contact-widget {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 1000;
}

.contact-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-3px);
}

/* Modal Styles */
.modal-content {
    border-radius: 12px;
    overflow: hidden;
    border: none;
}

.modal-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: none;
}

.modal-header .modal-title {
    font-weight: 600;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header .close {
    font-size: 1.5rem;
    color: white;
    opacity: 1;
    background: transparent;
    border: none;
    padding: 0;
    transition: color 0.3s ease;
}

.modal-header .close:hover {
    color: #e2e6ea;
}

.modal-body {
    padding: 30px 24px;
}

/* Form Styles */
.contact-form .form-group {
    margin-bottom: 20px;
}

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

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

.contact-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Send Button */
.btn-send {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    border-radius: 30px;
    padding: 12px 28px;
    color: white;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-send:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 123, 255, 0.3);
}

.btn-send:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

/* Success & Error Messages */
.alert-success,
.alert-danger {
    border-radius: 8px;
    border: none;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.alert-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

/* Responsive Enhancements */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 1.5rem;
    }

    .modal-body {
        padding: 20px;
    }

    .btn-send {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* Dark Theme Compatibility */
body[data-style="style"] .modal-content {
    background-color: #2c2c2c;
    color: #fff;
}

body[data-style="style"] .contact-form label {
    color: #ccc;
}

body[data-style="style"] .contact-form .form-control {
    background-color: #3c3c3c;
    border-color: #555;
    color: #fff;
}

body[data-style="style"] .contact-form .form-control:focus {
    border-color: #007bff;
    background-color: #3c3c3c;
    color: #fff;
}

body[data-style="style"] .contact-form .form-control::placeholder {
    color: #aaa;
}
