/* Santé Digitale Dashboard Styles */

/* Basic Grid System */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
    padding: 0 15px;
    box-sizing: border-box;
}

.col-md-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-md-3 { flex: 0 0 25%; max-width: 25%; }
.col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-md-9 { flex: 0 0 75%; max-width: 75%; }
.col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-md-12 { flex: 0 0 100%; max-width: 100%; }

.align-items-center { align-items: center; }
.text-end { text-align: right; }

@media (max-width: 768px) {
    .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }
    .text-end { text-align: center; }
}

.o_sante_dashboard {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
}

/* Header */
.sante-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 40px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.sante-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.sante-title i {
    margin-right: 10px;
    color: #e74c3c;
}

.sante-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.user-info {
    font-size: 1rem;
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
}

.user-info i {
    margin-right: 8px;
}

/* Stats Bar */
.sante-stats {
    background: white;
    padding: 30px 0;
    margin-bottom: 40px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.stat-card {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3c72;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Apps Grid */
.sante-apps {
    padding: 0 0 40px 0;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid #1e3c72;
    display: inline-block;
}

.app-card {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.app-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-icon i {
    font-size: 1.8rem;
    color: white;
}

.app-content {
    flex: 1;
    padding: 0 15px;
}

.app-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
}

.app-description {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
    line-height: 1.4;
}

.app-arrow {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    transition: all 0.3s ease;
}

.app-card:hover .app-arrow {
    color: #1e3c72;
    transform: translateX(5px);
}

/* Quick Links */
.sante-quick-links {
    background: white;
    padding: 40px 0;
    margin-top: 40px;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: #555;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.quick-link:hover {
    background: #1e3c72;
    color: white;
    transform: translateY(-3px);
}

.quick-link i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.quick-link span {
    font-weight: 500;
}

/* Footer */
.sante-footer {
    background: #1e3c72;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

.sante-footer p {
    margin: 0;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .sante-title {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .app-card {
        padding: 15px;
    }
    
    .app-icon {
        width: 50px;
        height: 50px;
    }
    
    .app-icon i {
        font-size: 1.5rem;
    }
}
