.blazored-typeahead  {
    color: var(--kt-input-color);
    background-color: var(--kt-input-bg);
    border: 1px solid var(--kt-input-border-color);
    box-shadow: none !important;
}
.blazored-typeahead__input  {
    color: var(--kt-input-color);
    background-color: var(--kt-input-bg);
    border: none;
    box-shadow: none !important;
}
.blazored-typeahead__input-icon {
    color: var(--kt-input-color);
    background-color: var(--kt-input-bg);
    border: none;
    box-shadow: none !important;
}
.blazored-typeahead__input-icon:hover {
    color: var(--kt-input-color);
    background-color: var(--kt-input-bg);
    border: none;
    box-shadow: none !important;
}
.blazored-typeahead__results {
    max-height: 200px!important;
    overflow-y: auto;
    background-color: var(--kt-input-bg);
    border: 1px solid var(--kt-input-border-color);
}
.blazored-typeahead__result, .blazored-typeahead__notfound, .blazored-typeahead__results-help-template, .blazored-typeahead__results-header, .blazored-typeahead__results-footer {
    border-top: 1px solid var(--kt-input-border-color);
    border-bottom: 1px solid var(--kt-input-border-color);
}

.validation-message{
    color: red;
}

.rz-datepicker-calendar .rz-state-disabled {
    opacity: 0.3;

}

input[type="text"]:not([name="password"]) {
    text-transform: uppercase;
}

/* KPI Cards Hover Effects */
.hover-elevate-up {
    transition: all 0.3s ease;
    cursor: pointer;
}

.hover-elevate-up:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* KPI Card Background Patterns */
.kpi-card-pattern {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.1;
    transition: all 0.3s ease;
}

.hover-elevate-up:hover .kpi-card-pattern {
    opacity: 0.2;
    transform: scale(1.1);
}

/* KPI Card Content Animation */
.kpi-card-content {
    transition: all 0.3s ease;
}

.hover-elevate-up:hover .kpi-card-content {
    transform: scale(1.02);
}

/* Badge Improvements */
.badge-warning {
    background-color: #ffc107 !important;
    color: #000 !important;
}

/* Alert Improvements */
.alert-warning {
    border-left: 4px solid #ffc107;
    background-color: rgba(255, 193, 7, 0.1);
}

/* Card Header Improvements */
.card-header.border-0 {
    background-color: transparent;
}

/* Responsive Improvements */
@media (max-width: 1200px) {
    .fs-1 {
        font-size: 2.5rem !important;
    }
    
    .fs-3 {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .fs-1 {
        font-size: 2rem !important;
    }
    
    .fs-3 {
        font-size: 1.25rem !important;
    }
    
    .h-200px {
        height: 150px !important;
    }
}

/* Device Returns Specific Styles */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.requested {
    background-color: #ffc107;
}

.status-dot.awaiting-pickup {
    background-color: #17a2b8;
}

.status-dot.in-transit {
    background-color: #007bff;
}

.status-dot.received {
    background-color: #6f42c1;
}

.status-dot.inspected {
    background-color: #fd7e14;
}

.status-dot.completed {
    background-color: #28a745;
}

.status-dot.rejected {
    background-color: #dc3545;
}

.status-text.requested {
    color: #ffc107;
}

.status-text.awaiting-pickup {
    color: #17a2b8;
}

.status-text.in-transit {
    color: #007bff;
}

.status-text.received {
    color: #6f42c1;
}

.status-text.inspected {
    color: #fd7e14;
}

.status-text.completed {
    color: #28a745;
}

.status-text.rejected {
    color: #dc3545;
}

.reason-badge {
    display: flex;
    align-items: center;
}

.reason-badge .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Device Return Detail Styles */
.device-return-detail {
    padding: 1rem;
}

.detail-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.detail-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.header-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.header-info {
    flex: 1;
}

.return-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.return-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

.status-badge {
    margin-left: auto;
}

.detail-content {
    padding: 1rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item.full-width {
    grid-column: 1 / -1;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #6c757d;
    font-size: 0.9rem;
}

.info-value {
    font-size: 1rem;
    color: #212529;
    word-break: break-word;
}

.detail-footer {
    padding: 1rem;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.footer-info {
    text-align: center;
}

/* Status Display in Modal */
.status-display {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

/* Modern Card Form Styles */
.modern-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.card-header-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.header-text h5 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.header-text p {
    margin: 0.25rem 0 0 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.card-body-modern {
    padding: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.input-wrapper {
    position: relative;
}

.input-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.input-help {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.action-buttons {
    display: flex;
    gap: 1rem;
}

/* Responsive adjustments for device returns */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .status-badge {
        margin-left: 0;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .action-buttons {
        width: 100%;
        justify-content: stretch;
    }
    
    .action-buttons .btn {
        flex: 1;
    }
}
