* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f5f7fa;
}

.navbar {
    background: white;
    padding: 15px 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 24px;
    font-weight: bold;
    color: #E04A2A;
}

.btn-logout {
    padding: 8px 20px;
    background: #E04A2A;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
}

.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

h1 {
    font-size: 42px;
    color: #333;
    margin-bottom: 30px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
}

.card p {
    margin: 12px 0;
    font-size: 15px;
    color: #666;
}

.card strong {
    color: #333;
    font-size: 18px;
}

#texto-progreso {
    margin-top: 15px;
    font-weight: 600;
    color: #4CAF50;
}

.btn-primary {
    display: block;
    width: 100%;
    padding: 14px;
    background: #E04A2A;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    margin-top: 20px;
}

.btn-primary:hover {
    background: #c03d1f;
}

.modal-close-btn {
    background: rgba(255,255,255,0.2) !important;
    border: none !important;
    color: white !important;
    font-size: 24px !important;
    width: 35px !important;
    height: 35px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 10001 !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    padding: 0 !important;
}

.modal-close-btn:hover {
    background: rgba(255,255,255,0.3) !important;
}