/* DoctorXperience - Paleta Médica Profesional */
:root {
    /* Colores Principales */
    --primary-blue: #0D6EFD;
    --secondary-teal: #00BFA6;
    --white: #FFFFFF;
    --gray-tech: #3A3A3A;
    --light-bg: #F8F9FA;
    --blue-dark: #0056D2;
    --teal-light: #4DD4C0;
    --gray-light: #6C757D;
    --hospital-gray: #E8EEF2;
    --hospital-gray-dark: #B8C5D0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--light-bg);
    color: var(--gray-tech);
    margin: 0;
    padding: 0;
    transition: padding-top 0.3s ease;
}

body.navbar-visible {
    padding-top: 100px;
}

/* ========== NAVBAR STYLES ========== */
.navbar {
    background: linear-gradient(135deg, #E8EEF2 0%, #D4DCE3 100%);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0;
    border-bottom: 4px solid var(--secondary-teal);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.navbar.show {
    transform: translateY(0);
}

.navbar-brand {
    font-weight: 700;
    font-size: 2rem;
    color: var(--gray-tech) !important;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.navbar-brand:hover {
    color: var(--primary-blue) !important;
    transform: scale(1.03);
}

/* Logo en Navbar - MUY GRANDE */
.navbar-logo {
    height: 90px;
    width: auto;
    margin-right: 1.5rem;
    transition: all 0.3s ease;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.08);
    filter: drop-shadow(0 6px 12px rgba(0, 191, 166, 0.5));
}

.brand-text {
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-link {
    color: var(--gray-tech) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
    background: rgba(13, 110, 253, 0.1);
    transform: translateY(-2px);
}

.nav-link i {
    margin-right: 0.3rem;
}

.btn-custom {
    background: var(--secondary-teal);
    color: var(--white);
    border: 2px solid var(--secondary-teal);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background: var(--teal-light);
    border-color: var(--teal-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 191, 166, 0.4);
}

/* Dropdown Menu */
.dropdown-menu {
    background: var(--white);
    border: 1px solid rgba(13, 110, 253, 0.2);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    color: var(--gray-tech);
    padding: 0.7rem 1.5rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(0, 191, 166, 0.1);
    color: var(--primary-blue);
}

.dropdown-item i {
    margin-right: 0.5rem;
    color: var(--primary-blue);
}

.dropdown-divider {
    border-color: rgba(13, 110, 253, 0.2);
}

.navbar-toggler {
    border-color: var(--gray-tech);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 191, 166, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(58, 58, 58, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========== CONTENT WRAPPER ========== */
.content-wrapper {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* ========== FOOTER STYLES ========== */
.footer {
    background: linear-gradient(135deg, var(--gray-tech) 0%, #2A2A2A 100%);
    color: var(--white);
    padding: 2.5rem 0;
    margin-top: 4rem;
    border-top: 3px solid var(--secondary-teal);
}

.footer h5 {
    color: var(--white);
    font-weight: 700;
}

/* Logo en Footer */
.footer-logo {
    height: 70px;
    width: auto;
    margin-right: 1.2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer a:hover {
    color: var(--secondary-teal);
    transform: translateY(-3px);
}

.footer a i {
    font-size: 1.5rem;
}

/* ========== CARD STYLES ========== */
.card {
    border: 1px solid rgba(13, 110, 253, 0.15);
    transition: all 0.3s ease;
    background: var(--white);
    border-radius: 8px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.2) !important;
    border-color: rgba(0, 191, 166, 0.3);
}

.card-header {
    font-weight: 600;
    border-bottom: 1px solid rgba(13, 110, 253, 0.1);
}

.card-header h3 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

/* ========== BACKGROUND COLORS ========== */
.bg-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--blue-dark)) !important;
    color: var(--white) !important;
}

.bg-success {
    background: linear-gradient(135deg, var(--secondary-teal), var(--teal-light)) !important;
    color: var(--white) !important;
}

.bg-info {
    background: linear-gradient(135deg, var(--blue-dark), var(--primary-blue)) !important;
    color: var(--white) !important;
}

.bg-warning {
    background: linear-gradient(135deg, var(--light-bg), var(--white)) !important;
    color: var(--gray-tech) !important;
    border: 2px solid var(--primary-blue) !important;
}

/* ========== TEXT COLORS ========== */
.text-primary {
    color: var(--primary-blue) !important;
}

.text-success {
    color: var(--secondary-teal) !important;
}

.text-info {
    color: var(--blue-dark) !important;
}

.text-warning {
    color: var(--primary-blue) !important;
}

.text-muted {
    color: var(--gray-light) !important;
}

/* ========== ALERT MESSAGES ========== */
.alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.alert-success {
    background: rgba(0, 191, 166, 0.1) !important;
    color: var(--secondary-teal) !important;
    border-left: 4px solid var(--secondary-teal) !important;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-left: 4px solid #dc3545;
}

.alert-warning {
    background: rgba(248, 249, 250, 0.9) !important;
    border: 2px solid rgba(13, 110, 253, 0.3) !important;
    color: var(--gray-tech) !important;
}

.alert-info {
    background: rgba(13, 110, 253, 0.1) !important;
    border: 2px solid rgba(13, 110, 253, 0.3) !important;
    color: var(--blue-dark) !important;
}

/* ========== LIST GROUP ========== */
.list-group-item {
    background: transparent !important;
    border-color: rgba(13, 110, 253, 0.15) !important;
    color: var(--gray-tech) !important;
    transition: all 0.2s ease;
}

.list-group-item:hover {
    background: rgba(0, 191, 166, 0.08) !important;
    border-color: rgba(0, 191, 166, 0.3) !important;
    transform: translateX(5px);
}

/* ========== ICONS ========== */
.bi-check-circle {
    color: var(--secondary-teal) !important;
    filter: drop-shadow(0 0 5px rgba(0, 191, 166, 0.5));
}

.bi-check-circle-fill {
    color: var(--secondary-teal) !important;
}

/* ========== HOME PAGE SPECIFIC STYLES ========== */

/* Hero Section */
.hero-container {
    position: relative;
    overflow: hidden;
}

.hero-btn-primary {
    position: relative;
    overflow: hidden;
}

.hero-btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 191, 166, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.hero-btn-primary:hover {
    background: var(--teal-light) !important;
    color: var(--white) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 191, 166, 0.9) !important;
}

.btn-outline-light {
    border-color: var(--white) !important;
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-3px);
    border-color: var(--white) !important;
    color: var(--white) !important;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5) !important;
}

/* Animations */
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10% { transform: scale(1.1); }
    20% { transform: scale(1); }
    30% { transform: scale(1.1); }
    40% { transform: scale(1); }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.7;
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(0, 191, 166, 0.6));
    }
    50% { 
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px rgba(0, 191, 166, 0.9));
    }
}

.medical-particle {
    position: absolute;
    font-size: 1.5rem;
    color: rgba(0, 191, 166, 0.5);
    animation: float 5s infinite;
    pointer-events: none;
}

.icon-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .navbar-logo {
        height: 70px;
        margin-right: 1rem;
    }
    
    .brand-text {
        font-size: 1.4rem;
    }
    
    .footer-logo {
        height: 55px;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer .text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }
    
    .hero-btn-primary,
    .btn-outline-light {
        font-size: 1.1rem !important;
        padding: 0.6rem 1.2rem !important;
    }
}