/**
 * BMW Dashboard Documents Styles
 * 
 * Styles for the My Documents section in user dashboard
 * 
 * @version 1.0.0
 * @author BMW MLM System
 */

.bmw-dashboard-section {
    background: #fff;
    border: 1px solid #e1e5e5;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bmw-dashboard-section h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bmw-dashboard-section h2 i {
    color: #007cba;
    font-size: 20px;
}

.bmw-documents-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .bmw-documents-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.bmw-document-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.bmw-document-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.bmw-document-header {
    margin-bottom: 15px;
}

.bmw-document-header h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bmw-document-header h3 i {
    color: #007cba;
    font-size: 16px;
}

.bmw-document-header p {
    color: #666;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.bmw-document-actions {
    margin-bottom: 15px;
}

.bmw-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 8px;
}

.bmw-button-primary {
    background: linear-gradient(135deg, #007cba, #0056b3);
    color: #fff;
    border: 1px solid #0056b3;
}

.bmw-button-primary:hover {
    background: linear-gradient(135deg, #0056b3, #003d82);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.bmw-button:disabled {
    background: #6c757d;
    border-color: #5a6268;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.bmw-document-info {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 15px;
}

.bmw-document-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bmw-document-info strong {
    color: #333;
    font-weight: 600;
}

.bmw-status-success {
    color: #28a745;
    background: #d4edda;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bmw-status-success i {
    font-size: 14px;
}

/* Loading spinner */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 767px) {
    .bmw-dashboard-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .bmw-dashboard-section h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .bmw-document-card {
        padding: 15px;
    }
    
    .bmw-button {
        padding: 10px 20px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }
}
