/* Base visual mejorada para MedicareConnect */

    * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }

    body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg, #f2f9ff, #e8f0ff);
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    }

    /* HERO HEADER */
    .hero {
    background: linear-gradient(135deg, #3f51b5, #1a237e);
    color: white;
    padding: 60px 20px 40px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    }

    .hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 0;
    }

    .hero-title, .hero-subtitle {
    position: relative;
    z-index: 1;
    }

    .hero-title {
    font-size: 3.5rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 700;
    }

    .hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.85;
    }

    .nav {
    margin-top: 20px;
    position: relative;
    z-index: 1;
    }

    .nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    }

    .nav a:hover {
    border-bottom: 2px solid #fff;
    }

    /* MAIN CONTENT */
    .main-content {
    padding: 40px 20px;
    flex: 1;
    }

    .intro {
    text-align: center;
    margin-bottom: 40px;
    }

    .intro h2 {
    font-size: 2rem;
    color: #1a237e;
    margin-bottom: 10px;
    }

    .intro p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    }

    .btn {
    display: inline-block;
    padding: 12px 24px;
    background: #3f51b5;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .btn:hover {
    background: #1a237e;
    }

    .features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    }

    .feature-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    flex: 1 1 250px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    }

    .feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: #3f51b5;
    }

    .feature-card p {
    color: #666;
    }

    /* FOOTER */
    .footer {
    background: #1a237e;
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-size: 0.9rem;
    }

    /* LOGO animado y centrado */
    .logo {
    width: 350px;
    height: 300px;
    padding: 50px;
    border-radius: 50%;
    background-color: white;
    object-fit: contain;
    margin-bottom: 30px;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(102, 0, 204, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .logo:hover {
    transform: scale(1.08);
    box-shadow:
        0 0 40px rgba(155, 0, 255, 0.6),
        0 0 80px rgba(155, 0, 255, 0.3),
        0 0 120px rgba(155, 0, 255, 0.2);
    }

    /* ANIMACIONES */
    @keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
    }

    @keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
    }

    /* RESPONSIVE */
    @media (max-width: 768px) {
    .features {
        flex-direction: column;
        align-items: center;
    }

    .intro h2 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .logo {
        width: 250px;
        height: 250px;
        padding: 30px;
    }

    .nav a {
        display: inline-block;
        margin: 5px;
    }
    }
    /* Nuevo diseño hero con logo al costado */
    .new-hero {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 40px 60px;
        flex-wrap: wrap;
        text-align: left;
        }

        .hero-left {
        flex: 0 0 200px;
        display: flex;
        justify-content: center;
        align-items: center;
        }

        .hero-right {
        flex: 1;
        padding-left: 40px;
        }

        /* Imagen del logo */
        .logo img {
            width: 200px;       /* ajusta el tamaño del logo */
            height: auto;       /* mantiene proporción */
            transition: all 0.3s ease-in-out; /* transición suave */
        }

        /* Efecto de luz al pasar el mouse */
        .logo img:hover {
            filter: drop-shadow(0 0 15px rgba(0, 153, 255, 0.8)); /* efecto glow azul */
            transform: scale(1.05); /* leve aumento */
        }

        .doctors-section {
        margin-top: 60px;
        padding: 20px;
        background: #f9f9ff;
        border-radius: 15px;
        box-shadow: 0 0 12px rgba(0,0,0,0.05);
        }

        .filter-area {
        margin-bottom: 20px;
        text-align: center;
        }

        .filter-area label {
        margin-right: 10px;
        font-weight: 600;
        }

        .doctor-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
        }

        .doctor-card {
        background: white;
        padding: 20px;
        text-align: center;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
        transition: 0.3s ease all;
        }

        .doctor-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.15);
        }

        .doctor-img {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 10px;
        border: 3px solid #3f51b5;
        }

        /* Hero centrado */
        .hero {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
            text-align: center;
            padding: 60px 20px;
            background: linear-gradient(135deg, #3f51b5, #1a237e);
            color: white;
        }

        .hero-center {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .nav-right {
            position: absolute;
            top: 20px;
            right: 30px;
        }

        .nav-right a {
            color: white;
            margin: 0 10px;
            text-decoration: none;
            font-weight: 500;
            padding: 8px 15px;
            border: 2px solid white;
            border-radius: 25px;
            transition: all 0.3s ease;
        }

        .nav-right a:hover {
            background: white;
            color: #3f51b5;
        }

        /* Login section centrada */
        .login-section {
            text-align: center;
            padding: 60px 20px;
        }

        .login-section h2 {
            color: #1a237e;
            margin-bottom: 30px;
            font-size: 2rem;
        }

        .login-buttons {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
        }

        .login-buttons .btn {
            padding: 20px 40px;
            font-size: 1.3rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            color: white;
            transition: all 0.3s ease;
        }

        .admin-btn { background: #3f51b5; }
        .admin-btn:hover { background: #1a237e; }

        .doctor-btn { background: #4caf50; }
        .doctor-btn:hover { background: #357a38; }

        .patient-btn { background: #ff9800; }
        .patient-btn:hover { background: #e68a00; }
        
        .cancel-section {
            margin-top: 10px;
            text-align: right;
        }
        .btn-cancel {
            background-color: #ef4444;
            color: #fff;
            font-weight: 600;
            padding: 6px 12px;
            border-radius: 8px;
            border: none;
        }
        .btn-cancel:hover {
            background-color: #dc2626;
        }

        /* Footer siempre al final */
        .footer {
            background: #1a237e;
            color: white;
            text-align: center;
            padding: 15px 20px;
            font-size: 0.9rem;
            margin-top: auto;
        }

        .edit-btn, .delete-btn {
            padding:6px 12px;
            border-radius:6px;
            text-decoration:none;
            font-weight:bold;
            color:white;
            transition:0.3s;
        }

        .edit-btn { background:#4caf50; }
        .edit-btn:hover { background:#388e3c; }

        .delete-btn { background:#e53935; }
        .delete-btn:hover { background:#c62828; }


        /* Responsive */
        @media (max-width: 768px) {
            .nav-right {
                position: static;
                margin-bottom: 30px;
            }

            .login-buttons {
                flex-direction: column;
            }

            .login-buttons .btn {
                width: 80%;
            }
        }


