/* MedyAjans Components CSS - Modular Import System */
/* This file imports all component modules to maintain backward compatibility */

/* Import modular component files */
@import url('./status-badges.css');
@import url('./card-components.css');
@import url('./grid-layouts.css');

/* Additional component styles that don't fit in other modules */

/* Form Section */
.form-section {
    margin-bottom: 30px;
    background: linear-gradient(135deg, #1e1e2f 0%, #252545 100%);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #334155;
}

.form-section h2 {
    color: #e2e8f0;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.form-section h3 {
    color: #4facfe;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.form-section p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* User Grid */
.user-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    align-items: end;
}

/* Add Company Section */
.add-company-section {
    margin-bottom: 30px;
}

.add-company-card {
    background: linear-gradient(135deg, #1e1e2f 0%, #252545 100%);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #334155;
}

.add-company-card p {
    color: #94a3b8;
    margin-top: 15px;
    font-size: 0.9rem;
}

/* Live Server Status */
.live-server-section {
    background: linear-gradient(135deg, #1e1e2f 0%, #252545 100%);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #334155;
}

.live-indicator {
    color: #10b981;
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.last-update {
    color: #94a3b8;
    font-size: 0.8rem;
}


/* Utility Classes */
.hidden {
    display: none !important;
}

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

.mt-0 { margin-top: 0; }
.mt-10 { margin-top: 10px; }
.mt-15 { margin-top: 15px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }

/* Responsive Utilities */
@media (max-width: 768px) {
    .form-section {
        padding: 20px;
    }
    
    .add-company-card {
        padding: 20px;
    }
    
    .live-server-section {
        padding: 15px;
    }
    
    .user-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation Utilities */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.slide-up {
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Company Action Buttons */
.company-action-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

.company-action-btn:active {
    transform: translateY(-1px) scale(1.02);
}