/* Eklentiler CSS - VantB Site */
/* Drawer, Modal ve diğer eklentiler için CSS stilleri */

/* Contact Form - İletişim Formu Stilleri */
.contact-form {
    padding: 0;
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form .form-row {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.contact-form .form-row .form-label {
    min-width: 120px;
    margin-bottom: 0;
    font-weight: 500;
    color: #5e6278;
    flex-shrink: 0;
}

.contact-form .form-row .form-control,
.contact-form .form-row .form-select {
    flex: 1;
    border-color: #e1e3ea;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.925rem;
    transition: all 0.2s ease;
}

.contact-form .form-row .form-control:focus,
.contact-form .form-row .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
    outline: none;
}

/* Radio Button Groups */
.contact-form .radio-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-form .radio-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-form .radio-item input[type="radio"] {
    margin: 0;
    width: 16px;
    height: 16px;
    accent-color: #667eea;
}

.contact-form .radio-item label {
    margin: 0;
    font-size: 0.9rem;
    color: #5e6278;
    cursor: pointer;
}

/* Textarea Özel Stili */
.contact-form .textarea-row {
    display: block;
    margin-bottom: 1rem;
}

.contact-form .textarea-row .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #5e6278;
}

.contact-form .textarea-row .form-control {
    width: 100%;
    min-height: 100px;
    resize: vertical;
    border-color: #e1e3ea;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.925rem;
    transition: all 0.2s ease;
}

.contact-form .textarea-row .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
    outline: none;
}

/* Drawer Footer Button */
.drawer-submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.drawer-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    color: white;
}

.drawer-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Loading State */
.drawer-submit-btn .spinner-border-sm {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-form .form-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .contact-form .form-row .form-label {
        min-width: auto;
        margin-bottom: 0.25rem;
    }
    
    .contact-form .radio-group {
        gap: 0.75rem;
    }
}

/* Alert Messages in Drawer */
.drawer-alert {
    margin-bottom: 1rem;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

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

.drawer-alert.alert-danger {
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
    color: white;
}

.drawer-alert .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

/* Form Validation States */
.contact-form .form-control.is-invalid,
.contact-form .form-select.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

.contact-form .form-control.is-valid,
.contact-form .form-select.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.15);
}

.contact-form .invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

.contact-form .valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #28a745;
}

/* Form Icons */
.contact-form .form-row .form-label i {
    margin-right: 0.5rem;
    color: #667eea;
    width: 16px;
    text-align: center;
}

/* Drawer Header Styling */
#kt_drawer_chat_messenger_header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom: none;
}

#kt_drawer_chat_messenger_header .card-title a {
    color: white !important;
}

#kt_drawer_chat_messenger_header .btn-icon {
    color: white !important;
}

#kt_drawer_chat_messenger_header .btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}
