/* OBL MIS New Component Styles */

.oblmis-container {
    background: #D5DDE6;
    min-height: 100vh;
    padding: 20px;
}

.oblmis-header {
    background: #ED7014;
    color: white;
    padding: 12px 20px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    border-radius: 4px 4px 0 0;
}

.oblmis-section-banner {
    background: #ED7014;
    color: white;
    padding: 8px 16px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    margin: 16px 0 8px 0;
    border-radius: 4px;
}

.oblmis-category-label {
    background: #ED7014;
    color: white;
    padding: 10px 16px;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.oblmis-action-button {
    height: 32px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 16px;
    border: 2px solid #1976d2;
    background-color: white;
    color: #1976d2;
    transition: all 0.3s ease;
}

.oblmis-action-button:hover {
    background-color: #1976d2;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.oblmis-export-button {
    height: 32px;
    font-size: 12px;
    font-weight: bold;
    background-color: #ED7014;
    color: white;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.oblmis-export-button:hover {
    background-color: #d65a0a;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.oblmis-radio-group {
    padding: 8px 16px;
}

.oblmis-radio-label {
    font-size: 11px;
    color: black;
    padding: 0px;
}

.oblmis-divider {
    margin: 8px 0;
    border-color: #ccc;
}

.oblmis-input-field {
    font-size: 11px;
    color: black;
    height: 28px;
}

.oblmis-date-field {
    font-size: 12px;
    height: 28px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .oblmis-container {
        padding: 10px;
    }
    
    .oblmis-header {
        font-size: 16px;
        padding: 10px 16px;
    }
    
    .oblmis-section-banner {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Animation for form elements */
.oblmis-fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus states for better accessibility */
.oblmis-action-button:focus,
.oblmis-export-button:focus {
    outline: 2px solid #1976d2;
    outline-offset: 2px;
}

/* Loading state styles */
.oblmis-loading {
    opacity: 0.6;
    pointer-events: none;
}

.oblmis-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #ED7014;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 