/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.modal-header {
    padding: 2rem 2rem 1rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.modal-body {
    padding: 1rem 2rem 2rem 2rem;
}

.modal-title {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 1.5rem;
}

.modal-title .pre-title {
    font-weight: 500;
    margin-bottom: 5px;
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    color: #E87556;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

.form-control:focus {
    border-color: #E87556;
    box-shadow: 0 0 0 0.2rem rgba(232, 117, 86, 0.15);
    background-color: #fff;
}

.form-control::placeholder {
    color: #adb5bd;
}

/* Select styling */
.form-control select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    padding-right: 40px;
}

/* Checkbox styling */
.form-check {
    margin-bottom: 1rem;
}

.form-check-input {
    margin-top: 0.2rem;
}

.form-check-label {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.4;
}

/* Alert styling */
.alert {
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: none;
    padding: 15px 20px;
}

.alert-success {
    background-color: #d1edff;
    color: #0c4a6e;
    border-left: 4px solid #0ea5e9;
}

.alert-danger {
    background-color: #fef2f2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.alert-info {
    background-color: #eff6ff;
    color: #1e40af;
    border-left: 4px solid #3b82f6;
}

/* Button loading state */
.rts-btn .btn-loading {
    display: none;
}

.rts-btn.loading .btn-text {
    display: none;
}

.rts-btn.loading .btn-loading {
    display: inline-block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
}