/* MyDMS Custom Branding Assets */

/* Custom Logo Styling - Can be used anywhere */
.mydms-logo {
    display: inline-flex;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    text-decoration: none;
    color: #667eea;
    transition: all 0.3s ease;
}

.mydms-logo:hover {
    color: #764ba2;
    transform: scale(1.05);
}

.mydms-logo-icon {
    font-size: 24px;
    margin-right: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mydms-logo-text {
    font-size: 18px;
    letter-spacing: 1px;
}

.mydms-logo-tagline {
    font-size: 11px;
    color: #6c757d;
    font-weight: normal;
    margin-left: 5px;
    font-style: italic;
}

/* Header Branding */
.mydms-header-brand {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.mydms-header-brand h1 {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
}

.mydms-header-brand p {
    margin: 5px 0 0 0;
    opacity: 0.9;
    font-size: 14px;
}

/* Security Badge */
.mydms-security-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.mydms-security-badge.warning {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

.mydms-security-badge.danger {
    background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
}

/* Custom Cards */
.mydms-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.mydms-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.mydms-card h3 {
    color: #667eea;
    margin-top: 0;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

/* Status Indicators */
.mydms-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.mydms-status.active {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mydms-status.inactive {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f1aeb5;
}

.mydms-status.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Custom Buttons */
.mydms-btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.mydms-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.mydms-btn.secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.mydms-btn.success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.mydms-btn.warning {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

.mydms-btn.danger {
    background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
}

/* Loading Animation */
.mydms-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: mydms-spin 1s linear infinite;
}

@keyframes mydms-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notification Styles */
.mydms-notification {
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid;
    font-weight: 500;
}

.mydms-notification.success {
    background: #d4edda;
    border-left-color: #28a745;
    color: #155724;
}

.mydms-notification.warning {
    background: #fff3cd;
    border-left-color: #ffc107;
    color: #856404;
}

.mydms-notification.error {
    background: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

.mydms-notification.info {
    background: #d1ecf1;
    border-left-color: #17a2b8;
    color: #0c5460;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mydms-header-brand {
        padding: 10px 15px;
        margin: 10px 0;
    }
    
    .mydms-header-brand h1 {
        font-size: 22px;
    }
    
    .mydms-card {
        padding: 15px;
        margin: 10px 0;
    }
    
    .mydms-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .mydms-card {
        background: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .mydms-card h3 {
        color: #90cdf4;
        border-bottom-color: #4a5568;
    }
}
