    * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #F9F9F8;
            min-height: 100vh;
            padding: 20px;
        }

         .titulo {
          color: rgb(17 24 39 / var(--tw-text-opacity, 1));
          font-weight: 700;
          font-size: 1.5rem;
          line-height: 2rem;
          
         }
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .header {
            text-align: center;
            color: white;
            margin-bottom: 40px;
        }

        .header h1 {
            font-size: 2.5em;
            margin-bottom: 10px;
            
        }

        .view {
            display: none;
        }

        .view.active {
            display: block;
        }

        .back-btn {
            background: white;
            color: #667eea;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 20px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: transform 0.2s;
        }

        .back-btn:hover {
            transform: translateX(-5px);
        }

        .grid-especialidades {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
        }

        .especialidad{
            background: white;
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        .especialidad:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 15px rgba(0,0,0,0.2);
        }

        .especialidad-icon{
            font-size: 4em;
            margin-bottom: 15px;
        }

        .especialidad h3 {
            color: #333;
            margin-bottom: 10px;
            font-size: 1.em;
        }

        .especialidad p {
            color: #666;
        }

        .doctors-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
        }

        .doctor-card {
            background: white;
            border-radius: 15px;
            padding: 25px;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        .doctor-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 15px rgba(0,0,0,0.2);
        }

        .doctor-header {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }

        .doctor-avatar {

            align-items: center;
            justify-content: center;
         }
        .doctor-avatar img {
            width: 70px;
            height: 70px;
            display: flex;
            
            font-size: 1.5em;
            margin-right: 15px;
            margin-right: 15px;
        }

        .doctor-info h3 {
            color: #333;
            margin-bottom: 5px;
        }

        .doctor-info p {
            color: #666;
            font-size: 0.9em;
        }

        .doctor-stats {
            border-top: 1px solid #eee;
            padding-top: 15px;
        }

        .stat-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }

        .stat-label {
            color: #666;
            font-weight: 600;
        }

        .stat-value {
            color: #667eea;
            font-weight: bold;
        }

        .progress-bar {
            width: 100%;
            height: 8px;
            background: #e0e0e0;
            border-radius: 10px;
            overflow: hidden;
            margin-top: 10px;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
            transition: width 0.3s;
        }

        .calendar-container {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        .doctor-summary {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 25px;
            border-radius: 15px;
            margin-bottom: 30px;
            display: flex;
            align-items: center;
        }

        .doctor-summary-avatar {
            width: 80px;
            height: 80px;
            background: white;
            color: #667eea;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2em;
            margin-right: 20px;
        }

        .doctor-summary-info h2 {
            margin-bottom: 5px;
        }

        .stats-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin-bottom: 30px;
        }

        .stat-card {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 10px;
            text-align: center;
        }

        .stat-card-label {
            color: #666;
            font-size: 0.9em;
            margin-bottom: 10px;
        }

        .stat-card-value {
            color: #667eea;
            font-size: 2em;
            font-weight: bold;
        }

        .calendar-header {
            text-align: center;
            margin-bottom: 20px;
        }

        .calendar-header h3 {
            color: #333;
            font-size: 1.5em;
        }

        .calendar-weekdays {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 10px;
            margin-bottom: 10px;
        }

        .calendar-weekday {
            text-align: center;
            font-weight: bold;
            color: #666;
            padding: 10px;
        }

        .calendar-days {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 10px;
        }

        .calendar-day {
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            padding: 10px;
            min-height: 120px;
            background: #fafafa;
        }

        .calendar-day.today {
            background: #e3f2fd;
            border-color: #667eea;
        }

        .day-number {
            font-weight: bold;
            color: #333;
            margin-bottom: 5px;
        }

        .appointment {
            background: #4caf50;
            color: white;
            padding: 5px;
            border-radius: 5px;
            margin-top: 5px;
            font-size: 0.8em;
        }

        .appointment.pending {
            background: #ff9800;
        }

        .appointment-time {
            font-weight: bold;
        }

        .appointment-patient {
            font-size: 0.85em;
        }

        .legend {
            display: flex;
            gap: 20px;
            margin-top: 20px;
            justify-content: center;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .legend-color {
            width: 20px;
            height: 20px;
            border-radius: 5px;
        }

        .legend-color.confirmed {
            background: #4caf50;
        }

        .legend-color.pending {
            background: #ff9800;
        }

        .legend-color.today {
            background: #e3f2fd;
            border: 2px solid #667eea;
        }