* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8fafc;
    color: #1a202c;
    line-height: 1.6;
}

/* App Container */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    flex-shrink: 0;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.app-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-logo i {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.app-title h2 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 2px;
}

.app-title span {
    font-size: 12px;
    color: #718096;
    font-weight: 400;
}

.sidebar-nav {
    padding: 20px;
}

.sidebar-nav ul {
    list-style: none;
}

.nav-item {
    margin-bottom: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #4a5568;
    transition: all 0.2s;
    font-weight: 500;
}

.nav-item.active .nav-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.nav-link:hover {
    background-color: #f7fafc;
}

.nav-item.active .nav-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.nav-subtitle {
    font-size: 12px;
    color: #a0aec0;
    margin-left: 44px;
    margin-top: -4px;
    display: block;
}

.nav-item.active .nav-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 32px 40px;
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 280px;
    min-height: 100vh;
}

.content-header {
    margin-bottom: 32px;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.content-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
}

.content-subtitle {
    color: #718096;
    font-size: 16px;
    font-weight: 400;
}

/* Alert Container */
.alert-container {
    margin-bottom: 24px;
    width: 100%;
    max-width: 800px;
}

.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 8px;
    font-weight: 500;
    margin-bottom: 12px;
}

.alert-success {
    background-color: #f0fff4;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.alert-error {
    background-color: #fed7d7;
    color: #742a2a;
    border: 1px solid #feb2b2;
}

/* Form Container */
.form-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 800px;
}

/* Form Sections */
.form-section {
    border-bottom: 1px solid #e2e8f0;
    padding: 32px;
}

.form-section:last-child {
    border-bottom: none;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.section-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.section-title {
    flex: 1;
}

.section-title h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
}

.required {
    color: #e53e3e;
}

.refresh-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #4a5568;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.refresh-btn:hover {
    background: linear-gradient(135deg, #edf2f7 0%, #e2e8f0 100%);
    border-color: #cbd5e0;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.refresh-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.edit-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 8px;
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.2);
}

.edit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.3);
}

.edit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.1);
}

.create-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 8px;
    box-shadow: 0 4px 8px rgba(72, 187, 120, 0.2);
}

.create-btn:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(72, 187, 120, 0.3);
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    margin-bottom: 0;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a5568;
    font-size: 14px;
}

input,
select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    transition: all 0.2s;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 48px;
    box-sizing: border-box;
}

input:focus,
select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

input:disabled,
select:disabled {
    background-color: #f7fafc;
    color: #a0aec0;
    cursor: not-allowed;
}

input::placeholder {
    color: #a0aec0;
}

/* Date Input Styling */
.date-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.date-input-container input[type="date"] {
    padding-right: 40px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    color: #2d3748;
    min-height: 48px;
}

.date-input-container input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.date-icon {
    position: absolute;
    right: 16px;
    color: #718096;
    pointer-events: none;
    z-index: 1;
}

/* Custom Dropdown Styles */
.custom-select {
    position: relative;
    display: block;
    width: 100%;
}

.select-button {
    width: 100%;
    padding: 14px 48px 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    text-align: left;
    font-size: 14px;
    color: #2d3748;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
}

.select-button:hover {
    border-color: #cbd5e0;
    background-color: #f7fafc;
}

.select-button:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.select-button.placeholder {
    color: #a0aec0;
}

.select-arrow {
    margin-left: auto;
    transition: transform 0.2s;
    color: #718096;
}

.select-button[aria-expanded="true"] .select-arrow {
    transform: rotate(180deg);
}

.select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 280px;
    overflow: hidden;
    display: none;
    margin-top: 4px;
}

.select-dropdown.show {
    display: block;
}

.select-search {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.select-search input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    background: #f7fafc;
}

.select-search input:focus {
    background: white;
    border-color: #667eea;
}

.select-options {
    max-height: 200px;
    overflow-y: auto;
    padding: 4px 0;
}

.select-option {
    padding: 12px 16px;
    cursor: pointer;
    color: #2d3748;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.select-option:hover,
.select-option.highlighted {
    background-color: #f7fafc;
    color: #667eea;
}

.select-option.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.select-option.selected:hover,
.select-option.selected.highlighted {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.select-option.hidden {
    display: none;
}

/* Option Content Layout */
.option-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 12px;
}

.option-text {
    flex: 1;
    font-weight: 400;
    font-size: 14px;
}

.option-details {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
    pointer-events: none;
}

/* Status Badges */
.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    pointer-events: none;
}

.status-active {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.status-new {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
}

.status-discontinued {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: white;
}

.status-life-time {
    background: linear-gradient(135deg, #9f7aea 0%, #805ad5 100%);
    color: white;
}

.status-inactive {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: white;
}

.status-expired {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    color: white;
}

.status-pending {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
}

/* Days to Expiry Badges */
.days-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    pointer-events: none;
}

.days-overdue {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    color: white;
}

.days-urgent {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: white;
}

.days-warning {
    background: linear-gradient(135deg, #ecc94b 0%, #d69e2e 100%);
    color: white;
}

.days-normal {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

/* Selected option styling for badges */
.select-option.selected .status-badge,
.select-option.selected .days-badge {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.no-results {
    padding: 12px 16px;
    color: #a0aec0;
    font-style: italic;
    text-align: center;
}

/* Input with Icon */
.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #718096;
    font-weight: 600;
    z-index: 1;
}

.input-with-icon input {
    padding-left: 40px;
}

/* Ledger Info */
.ledger-info {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.info-item {
    margin-bottom: 12px;
}

.info-label {
    font-size: 12px;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.info-value {
    font-size: 14px;
    color: #2d3748;
    font-weight: 600;
    margin-left: 8px;
}

.info-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.info-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 11px;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.detail-value {
    font-size: 13px;
    color: #4a5568;
    font-weight: 500;
}

/* Custom Checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #4a5568;
    font-weight: 500;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s;
}

.checkbox-container:hover .checkmark {
    border-color: #667eea;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* File Upload */
.file-upload-container {
    position: relative;
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
}

.file-upload-container:hover {
    border-color: #667eea;
    background-color: #f7fafc;
}

.file-upload-container.file-selected {
    border-color: #48bb78;
    background-color: #f0fff4;
}

.file-upload-container input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #718096;
    transition: all 0.2s;
}

.file-upload-container.file-selected .file-upload-label {
    color: #22543d;
}

.file-upload-label i {
    font-size: 24px;
    color: #a0aec0;
    transition: all 0.2s;
}

.file-upload-container.file-selected .file-upload-label i {
    color: #48bb78;
}

.file-upload-success {
    color: #22543d;
    font-weight: 500;
    display: none;
}

.file-upload-container.file-selected .file-upload-success {
    display: block;
}

.file-upload-container.file-selected .file-upload-text {
    display: none;
}

.file-info {
    color: #718096;
    font-size: 12px;
    margin-top: 8px;
    display: block;
}

/* Form Actions */
.form-actions {
    padding: 24px 32px;
    background: #f7fafc;
    border-top: 1px solid #e2e8f0;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Loading Modal */
.loading-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-modal.show {
    display: flex;
}

.loading-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.loading-subtext {
    font-size: 14px;
    color: #718096;
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px;
        min-height: auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .info-details {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .refresh-btn, .edit-btn, .create-btn {
        align-self: flex-start;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.modal-overlay.show {
    display: flex;
}

.modal-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.2s;
}

.modal-overlay.show .modal-container {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid #e2e8f0;
    background: #f7fafc;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #718096;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #edf2f7;
    color: #4a5568;
}

.modal-form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.modal-body {
    padding: 32px;
    flex: 1;
    overflow-y: auto;
    max-height: 60vh;
}

.modal-footer {
    padding: 24px 32px;
    border-top: 1px solid #e2e8f0;
    background: #f7fafc;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.form-section-title {
    margin: 24px 0 16px 0;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.form-section-title:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.form-section-title h4 {
    font-size: 16px;
    font-weight: 600;
    color: #4a5568;
    margin: 0;
}

/* Radio Button Styles */
.radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.radio-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #4a5568;
    font-weight: 500;
    padding: 8px 0;
}

.radio-container input[type="radio"] {
    display: none;
}

.radio-checkmark {
    width: 16px;
    height: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s;
    flex-shrink: 0;
}

.radio-container:hover .radio-checkmark {
    border-color: #667eea;
}

.radio-container input[type="radio"]:checked + .radio-checkmark {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.radio-container input[type="radio"]:checked + .radio-checkmark::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

/* Textarea Styles */
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    transition: all 0.2s;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    resize: vertical;
    min-height: 80px;
}

textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

textarea::placeholder {
    color: #a0aec0;
}

/* Button Styles */
.btn-primary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    padding: 12px 20px;
    background: #f7fafc;
    color: #4a5568;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    color: #2d3748;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer button {
        width: 100%;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 8px;
    }
}

/* Warning Modal Styles */
.warning-modal {
    max-width: 500px;
}

.warning-header {
    background: #fef5e7;
    color: #744210;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-start;
}

.warning-icon {
    background: #f6ad55;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.warning-header h3 {
    color: #744210;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.warning-message {
    text-align: center;
    color: #4a5568;
    line-height: 1.6;
}

.warning-message p {
    margin: 0 0 12px 0;
    font-size: 14px;
}

.warning-message p:last-child {
    margin-bottom: 0;
    font-weight: 500;
}

.btn-warning {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(237, 137, 54, 0.3);
}

.btn-warning:disabled {
    background: #e2e8f0;
    color: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}