/* Vehicle Issue Modal - Modern, Responsive Design */
.vehicle-issue-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 10px;
    padding-top: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}
.vehicle-issue-overlay.active {
    display: flex;
}
.vehicle-issue-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.3s ease-out;
    margin: auto 0;
}
@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.vehicle-issue-header {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 14px 16px;
    text-align: center;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.vehicle-issue-header.warning {
    background: linear-gradient(135deg, #fd7e14 0%, #e55a00 100%);
}
.vehicle-issue-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.vehicle-issue-header-text {
    text-align: left;
}
.vehicle-issue-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}
.vehicle-issue-header p {
    margin: 2px 0 0;
    font-size: 12px;
    opacity: 0.9;
}
.vehicle-issue-body {
    padding: 16px;
}
.vehicle-issue-info {
    background: #dc3545;
    border: none;
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 14px;
    font-size: 14px;
    color: #fff;
    line-height: 1.5;
    font-weight: 500;
    text-align: center;
}
.vehicle-issue-info.error {
    background: #c0392b;
    color: #fff;
}
.vehicle-issue-info strong {
    color: #fff;
    font-weight: 700;
}
.vehicle-issue-form-group {
    margin-bottom: 12px;
}
.vehicle-issue-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 4px;
}
.vehicle-issue-form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
    box-sizing: border-box;
    text-transform: uppercase;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    letter-spacing: 1px;
    font-weight: 600;
}
.vehicle-issue-form-group input:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}
.vehicle-issue-form-group input::placeholder {
    text-transform: none;
    font-family: inherit;
    letter-spacing: normal;
    color: #adb5bd;
}
.vehicle-issue-form-group .input-hint {
    font-size: 11px;
    color: #6c757d;
    margin-top: 4px;
}
.vehicle-issue-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}
.vehicle-issue-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.vehicle-issue-btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
}
.vehicle-issue-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
}
.vehicle-issue-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.vehicle-issue-btn-secondary {
    background: #f8f9fa;
    color: #495057;
    border: 2px solid #dee2e6;
}
.vehicle-issue-btn-secondary:hover {
    background: #e9ecef;
}
.vehicle-issue-btn-delete {
    background: transparent;
    color: #dc3545;
    font-size: 13px;
    padding: 10px;
}
.vehicle-issue-btn-delete:hover {
    background: #fff5f5;
}
.vehicle-issue-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 0 0 16px 16px;
}
.vehicle-issue-nav-counter {
    font-size: 12px;
    color: #6c757d;
}
.vehicle-issue-nav-dots {
    display: flex;
    gap: 5px;
}
.vehicle-issue-nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #dee2e6;
    transition: all 0.2s;
}
.vehicle-issue-nav-dot.active {
    background: #0d6efd;
    width: 16px;
    border-radius: 3px;
}
.vehicle-issue-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
