:root {
    --padding-container: 190px 0;
    --color-title: #2b4162;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: var(--padding-container);
}

/* Header Hero */
.hero {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    position: relative;
    display: grid;
    grid-template-rows: 100px 1fr;
    color: #fff;
    background: linear-gradient(135deg, #2b4162 0%, #12100e 100%);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 95%, 0 80%);
    z-index: 1;
}

/* Navigation */
.nav {
    --padding-container: 0;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
    overflow: visible;
}

.nav__title {
    font-weight: 700;
    font-size: 1.8rem;
    color: #fff;
}

.nav__link {
    margin-left: auto;
    padding: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 2em;
}

.nav__items {
    list-style: none;
}

.nav__links {
    color: #ffffff;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    padding: 8px 15px;
    border: 2px solid transparent;
    border-radius: 25px;
}

.nav__links:hover {
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.nav__menu {
    margin-left: auto;
    cursor: pointer;
    display: none;
}

.nav__img {
    display: block;
    width: 30px;
}

/* Hero Content */
.hero__container {
    max-width: 800px;
    --padding-container: 0;
    display: grid;
    grid-auto-rows: max-content;
    align-content: center;
    gap: 1em;
    padding-bottom: 100px;
    text-align: center;
    position: relative;
    z-index: 5;
}

.hero__title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
    animation: titleFloat 3s ease-in-out infinite;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 3px;
}

@keyframes titleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero__paragraph {
    margin-bottom: 20px;
    font-size: 1.2rem;
    opacity: 0.9;
}

.cta {
    display: inline-block;
    background: linear-gradient(135deg, #2091F9, #1976d2);
    justify-self: center;
    color: #fff;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 32px;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(32, 145, 249, 0.3);
}

.cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(32, 145, 249, 0.5);
}

/* Admin Panel */
#adminPanel {
    display: none;
    background-color: #2b4162;
    color: white;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#adminPanel .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#adminPanel h3 {
    margin: 0;
    font-size: 1.2rem;
}

#adminPanel ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}

#adminPanel ul li {
    margin-left: 20px;
}

#adminPanel ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

#adminPanel ul li a:hover {
    opacity: 0.8;
}

.header-spacer {
    height: 60px;
    display: none;
}

/* Profile Menu - CORREGIDO */
.profile-menu {
    position: relative;
    display: inline-block;
}

.profile-menu-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0px 8px 20px 0px rgba(0,0,0,0.3);
    z-index: 2000;
    right: 0;
    top: calc(100% + 10px);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.profile-menu-content a {
    color: #333;
    padding: 14px 18px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.profile-menu-content a:last-child {
    border-bottom: none;
}

.profile-menu-content a:hover {
    background-color: #f8f9fa;
    color: #2b4162;
    padding-left: 22px;
}

.profile-menu-content.show {
    display: block;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Hero Section */
.services-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    margin-top: -100px;
    position: relative;
    z-index: 1;
}

.services-hero__title {
    font-size: 3.5rem;
    color: var(--color-title);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
}

.services-hero__title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #2b4162, #1976d2);
    border-radius: 2px;
}

.services-hero__description {
    text-align: center;
    max-width: 800px;
    margin: 2rem auto;
    color: #666;
    font-size: 1.2rem;
    line-height: 1.8;
}

.services-hero__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.services-hero__item {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.services-hero__item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.services-hero__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2b4162, #1976d2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: all 0.3s ease;
}

.services-hero__item:hover .services-hero__icon {
    transform: scale(1.1);
}

.services-hero__icon i {
    font-size: 1.5rem;
    color: white;
}

.services-hero__item h3 {
    color: var(--color-title);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.services-hero__item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.subtitle {
    color: var(--color-title);
    font-size: 2.5rem;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

.subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #2b4162, transparent);
    animation: underlineWidth 2s ease-in-out infinite;
}

@keyframes underlineWidth {
    0%, 100% {
        width: 100px;
        opacity: 0.5;
    }
    50% {
        width: 200px;
        opacity: 1;
    }
}

.services__container {
    display: grid;
    gap: 2em;
    padding-top: 50px;
    padding-bottom: 100px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service__item {
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service__item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    background-color: #fff;
}

.service__title {
    color: var(--color-title);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service__description {
    color: #666;
    line-height: 1.6;
}

/* Questions Section */
.questions {
    text-align: center;
    background: #f8f9fa;
    padding: 80px 0;
}

.questions__paragraph {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.questions__container {
    display: grid;
    gap: 2em;
    padding-top: 50px;
    padding-bottom: 50px;
    max-width: 800px;
    margin: 0 auto;
}

.questions__padding {
    padding: 0;
    transition: padding .3s;
    border: 1px solid #2b4162;
    border-radius: 10px;
    background: white;
}

.questions__padding--add {
    padding-bottom: 30px;
}

.questions__answer {
    padding: 0 30px;
    overflow: hidden;
}

.questions__title {
    text-align: left;
    display: flex;
    font-size: 1.2rem;
    padding: 30px 0;
    cursor: pointer;
    color: var(--color-title);
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.questions__arrow {
    border-radius: 50%;
    background-color: var(--color-title);
    color: white;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    transition: transform .5s;
    font-size: 0.8rem;
}

.questions__arrow--rotate {
    transform: rotate(180deg);
}

.questions__show {
    text-align: left;
    height: 0;
    transition: height .3s;
    overflow: hidden;
    color: #666;
    line-height: 1.6;
}

.questions__offer {
    margin-top: 4rem;
    padding: 2rem;
}

.questions__copy {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #666;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: #2b4162;
    color: #fff;
    padding: 70px 0 30px;
}

.footer__container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 50px;
    margin-bottom: 40px;
    gap: 60px;
}

.footer__title {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #fff;
    letter-spacing: 1px;
}

.nav--footer {
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    height: 100%;
    flex: 1;
}

.nav__link--footer {
    display: flex;
    margin: 0;
    flex-wrap: wrap;
    gap: 2rem;
}

.nav__link--footer .nav__items {
    margin-bottom: 8px;
}

.nav__link--footer .nav__links {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    transition: all 0.3s ease;
    border: none;
    border-radius: 0;
}

.nav__link--footer .nav__links:hover {
    color: #fff;
    transform: translateX(5px);
    background: transparent;
    border: none;
    box-shadow: none;
}

.footer__form {
    flex: 1;
    max-width: 450px;
    min-width: 300px;
}

.footer__newsletter {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #fff;
}

.footer__inputs {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.footer__input {
    background-color: rgba(255, 255, 255, 0.95);
    height: 40px;
    width: 80%;
    padding: 0 20px;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.footer__input:focus {
    border-color: #2091F9;
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(32, 145, 249, 0.3);
}

.footer__submit {
    height: 40px;
    padding: 0 20px;
    background: linear-gradient(135deg, #2091F9, #1976d2);
    border: none;
    font-size: 1.1rem;
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    min-width: 120px;
    width: 80%;
}

.footer__submit:hover {
    background: linear-gradient(135deg, #1976d2, #1565c0);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(32, 145, 249, 0.4);
}

.footer__copy {
    text-align: center;
    padding: 30px 0 0;
}

.footer__social {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.footer__icons {
    color: #fff;
    text-decoration: none;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}

.footer__icons:hover {
    color: #fff;
    opacity: 1;
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer__copyright {
    font-weight: 400;
    opacity: 0.9;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border: none;
    width: 90%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover, .close:focus {
    color: #000;
    text-decoration: none;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: var(--color-title);
    text-align: center;
}

.modal-content input,
.modal-content select,
.modal-content textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}

.modal-content input[type="submit"] {
    background-color: #2091F9;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.modal-content input[type="submit"]:hover {
    background-color: #1976d2;
}

.modal-content p {
    text-align: center;
    margin-top: 15px;
}

.modal-content a {
    color: #2091F9;
    cursor: pointer;
    text-decoration: underline;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--color-title);
}

/* Profile Configuration Page */
.profile-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.profile-header {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-header h1 {
    color: var(--color-title);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.profile-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
}

.profile-sidebar {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: fit-content;
}

.profile-picture-container {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #f0f0f0;
    margin: 0 auto 1rem;
    display: block;
}

.upload-btn {
    background: linear-gradient(135deg, #2091F9, #1976d2);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(32, 145, 249, 0.3);
}

.profile-main {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.profile-section {
    margin-bottom: 2.5rem;
}

.profile-section h3 {
    color: var(--color-title);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-control {
    margin-bottom: 1.5rem;
}

.form-control label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.form-control input,
.form-control textarea,
.form-control select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-control input:focus,
.form-control textarea:focus,
.form-control select:focus {
    outline: none;
    border-color: #2091F9;
}

.form-control textarea {
    min-height: 100px;
    resize: vertical;
}

.background-preview {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    background: linear-gradient(135deg, #2b4162 0%, #12100e 100%);
    margin-top: 0.5rem;
    border: 2px dashed #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.background-preview:hover {
    border-color: #2091F9;
}

.save-btn {
    background: linear-gradient(135deg, #2091F9, #1976d2);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: block;
    margin: 2rem auto 0;
    min-width: 200px;
}

.save-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(32, 145, 249, 0.5);
}

.back-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 2rem;
}

.back-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav__menu {
        display: block;
    }

    .nav__link--menu {
        position: fixed;
        background-color: rgba(0,0,0,0.95);
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 100;
        opacity: 0;
        pointer-events: none;
        transition: .7s opacity;
    }

    .nav__link--show {
        opacity: 1;
        pointer-events: unset;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .services-hero {
        padding: 60px 0;
        margin-top: -60px;
    }
    
    .services-hero__title {
        font-size: 2.5rem;
    }
    
    .services-hero__description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .services-hero__grid {
        gap: 1.75rem;
        padding: 0 0.5rem;
    }

    .services__container {
        grid-template-columns: 1fr;
    }

    .footer__container {
        flex-direction: column;
        gap: 2rem;
    }

    .footer__inputs {
        flex-direction: column;
    }

    .footer__input {
        margin-bottom: 1rem;
    }

    .subtitle {
        font-size: 2rem;
    }

    .profile-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .profile-sidebar {
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .profile-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .hero__title {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .hero__paragraph {
        font-size: 1rem;
    }

    .container {
        width: 95%;
    }

    .profile-container {
        padding: 1rem;
    }
    
    .profile-main,
    .profile-sidebar {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .services-hero__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-hero__item {
        padding: 1.5rem 1rem;
    }
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer__container {
        flex-direction: column;
        gap: 40px;
        padding-bottom: 40px;
        margin-bottom: 30px;
    }
    
    .footer__form {
        min-width: auto;
        max-width: 100%;
    }
    
    .footer__title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .nav__link--footer {
        gap: 1.5rem;
        justify-content: center;
    }
    
    .footer__inputs {
        flex-direction: column;
    }
    
    .footer__input {
        margin-bottom: 0;
    }
    
    .footer__social {
        gap: 20px;
    }
    
    .footer__icons {
        width: 45px;
        height: 45px;
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer__container {
        gap: 30px;
        padding-bottom: 30px;
        margin-bottom: 25px;
    }
    
    .nav__link--footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer__newsletter {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .footer__social {
        gap: 15px;
    }
    
    .footer__icons {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }
    
    .footer__copyright {
        font-size: 0.9rem;
    }
}

/* Dark Theme Support */
body.dark-theme {
    background-color: #1a1a1a;
    color: #ffffff;
}

body.dark-theme .profile-sidebar,
body.dark-theme .profile-main,
body.dark-theme .modal-content {
    background-color: #2d2d2d;
    color: #ffffff;
}

body.dark-theme .form-control input,
body.dark-theme .form-control textarea,
body.dark-theme .form-control select {
    background-color: #3d3d3d;
    border-color: #4d4d4d;
    color: #ffffff;
}

body.dark-theme .form-control label {
    color: #ffffff;
}

body.dark-theme .profile-menu-content {
    background-color: #2d2d2d;
}

body.dark-theme .profile-menu-content a {
    color: #ffffff;
    border-bottom-color: #4d4d4d;
}

body.dark-theme .profile-menu-content a:hover {
    background-color: #3d3d3d;
}

/* Estilo para el icono de notificaciones */
#notificationsBtn {
    font-size: 1.2rem;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#notificationsBtn:hover {
    color: #007bff;
    transform: scale(1.1);
}

#notificationsBtn i {
    position: relative;
}

/* Opcional: Indicador de notificaciones no leídas */
#notificationsBtn .notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff4757;
    color: white;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    font-size: 0.6rem;
    display: none; /* Oculto por defecto */
}

        /* Estilos para la campana de notificaciones flotante */
        .notification-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background-color: #dc3545;
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            font-size: 11px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }

        .notifications-dropdown {
            position: absolute;
            top: 60px;
            right: 20px;
            width: 350px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            z-index: 1001;
            display: none;
            flex-direction: column;
            max-height: 500px;
            overflow: hidden;
            border: 1px solid #e0e0e0;
            animation: fadeIn 0.3s ease;
        }

        .notifications-dropdown.show {
            display: flex;
            animation: slideDown 0.3s ease;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .notifications-header {
            padding: 18px 20px;
            border-bottom: 1px solid #e0e0e0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
            color: white;
        }

        .notifications-header h3 {
            margin: 0;
            font-size: 18px;
            font-weight: 600;
        }

        .notifications-count {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            backdrop-filter: blur(10px);
        }

        .notifications-list {
            flex: 1;
            overflow-y: auto;
            max-height: 400px;
            background: #f8f9fa;
        }

        .notification-item {
            padding: 15px 20px;
            border-bottom: 1px solid #eaeaea;
            display: flex;
            align-items: flex-start;
            gap: 12px;
            transition: all 0.3s ease;
            cursor: pointer;
            background: white;
            position: relative;
        }

        .notification-item:last-child {
            border-bottom: none;
        }

        .notification-item:hover {
            background: #f0f8ff;
            transform: translateX(5px);
        }

        .notification-item.unread {
            background: #f0f8ff;
            border-left: 4px solid #007bff;
        }

        .notification-item.read {
            opacity: 0.8;
        }

        .notification-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            font-size: 16px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        }

        .notification-icon.service {
            background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
            color: white;
        }

        .notification-icon.message {
            background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
            color: white;
        }

        .notification-icon.alert {
            background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
            color: #333;
        }

        .notification-icon.payment {
            background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
            color: white;
        }

        .notification-content {
            flex: 1;
            min-width: 0;
        }

        .notification-content h4 {
            margin: 0 0 6px 0;
            font-size: 15px;
            font-weight: 600;
            color: #333;
            line-height: 1.3;
        }

.notification-content p {
  margin: 0;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2; /* Añade esta línea */
}

        .notification-time {
            font-size: 12px;
            color: #999;
            margin-top: 5px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .notification-time i {
            font-size: 11px;
        }

        .notification-actions {
            padding: 15px 20px;
            border-top: 1px solid #e0e0e0;
            background: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .actions-left {
            display: flex;
            gap: 10px;
        }

        .btn-mark-all {
            background: none;
            border: 1px solid #ddd;
            color: #666;
            font-size: 13px;
            cursor: pointer;
            padding: 8px 15px;
            border-radius: 6px;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .btn-mark-all:hover {
            background: #f8f9fa;
            border-color: #007bff;
            color: #007bff;
        }

        .btn-delete-all {
            background: none;
            border: 1px solid #ddd;
            color: #666;
            font-size: 13px;
            cursor: pointer;
            padding: 8px 15px;
            border-radius: 6px;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .btn-delete-all:hover {
            background: #f8f9fa;
            border-color: #dc3545;
            color: #dc3545;
        }

        .btn-view-all {
            background: #007bff;
            color: white;
            border: none;
            padding: 8px 18px;
            border-radius: 6px;
            font-size: 14px;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 600;
        }

        .btn-view-all:hover {
            background: #0056b3;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
        }

        .notifications-empty {
            padding: 50px 20px;
            text-align: center;
            color: #999;
            background: white;
        }

        .notifications-empty i {
            font-size: 50px;
            margin-bottom: 15px;
            opacity: 0.3;
        }

        .notifications-empty h4 {
            margin: 0 0 10px 0;
            color: #666;
            font-size: 16px;
            font-weight: 600;
        }

        .notifications-empty p {
            font-size: 14px;
            margin: 0;
            color: #999;
        }

        /* Estilo para la campana en la navegación */
        #notificationsBtn {
            position: relative;
            padding: 10px 15px !important;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }

        #notificationsBtn:hover {
            transform: scale(1.1);
        }

        #notificationsBtn i {
            font-size: 20px;
        }

        /* Animación para nuevas notificaciones */
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        .new-notification {
            animation: pulse 0.5s ease;
        }

        /* Estilos para el botón de eliminar notificación */
        .notification-delete {
            background: none;
            border: none;
            color: #999;
            cursor: pointer;
            padding: 5px;
            margin-left: auto;
            opacity: 0;
            transition: all 0.3s ease;
            flex-shrink: 0;
            align-self: flex-start;
        }

        .notification-item:hover .notification-delete {
            opacity: 1;
        }

        .notification-delete:hover {
            color: #dc3545;
            transform: scale(1.1);
        }

        /* Punto rojo para notificaciones nuevas */
        .new-notification-dot {
            position: absolute;
            top: 8px;
            right: 8px;
            width: 8px;
            height: 8px;
            background-color: #dc3545;
            border-radius: 50%;
            display: none;
            animation: dotPulse 2s infinite;
            z-index: 1002;
        }

        @keyframes dotPulse {
            0% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.2); opacity: 0.7; }
            100% { transform: scale(1); opacity: 1; }
        }

        /* MODAL FLOTANTE PARA DETALLES DE NOTIFICACIÓN */
        .notification-detail-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            animation: fadeIn 0.3s ease;
        }

        .notification-detail-modal.show {
            display: flex;
        }

        .notification-detail-content {
            background: white;
            border-radius: 15px;
            width: 90%;
            max-width: 500px;
            max-height: 85vh;
            overflow-y: auto;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
            animation: modalSlideUp 0.3s ease;
        }

        @keyframes modalSlideUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .notification-detail-header {
            background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
            color: white;
            padding: 20px;
            border-radius: 15px 15px 0 0;
            position: relative;
        }

        .notification-detail-header h3 {
            margin: 0;
            font-size: 20px;
            font-weight: 600;
        }

        .notification-detail-time {
            font-size: 14px;
            opacity: 0.9;
            margin-top: 5px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .notification-detail-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            font-size: 18px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }

        .notification-detail-close:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: rotate(90deg);
        }

        .notification-detail-body {
            padding: 25px;
        }

        .service-info-section {
            margin-bottom: 25px;
        }

        .service-info-title {
            color: #007bff;
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f0f0f0;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .service-info-title i {
            font-size: 20px;
        }

        .service-info-item {
            display: flex;
            margin-bottom: 12px;
            align-items: flex-start;
        }

        .service-info-label {
            width: 120px;
            font-weight: 600;
            color: #555;
            font-size: 14px;
            flex-shrink: 0;
        }

        .service-info-value {
            flex: 1;
            color: #333;
            font-size: 15px;
        }

        .service-info-value strong {
            color: #007bff;
        }

        .service-client-photo {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #007bff;
            margin-right: 15px;
        }

        .service-client-info {
            flex: 1;
        }

        .service-client-info h4 {
            margin: 0 0 5px 0;
            font-size: 16px;
            color: #333;
        }

        .service-client-info p {
            margin: 3px 0;
            font-size: 14px;
            color: #666;
        }

        .service-client-info i {
            width: 16px;
            text-align: center;
            margin-right: 5px;
            color: #007bff;
        }

        .service-message-box {
            background: #f8f9fa;
            border-left: 4px solid #007bff;
            padding: 15px;
            border-radius: 8px;
            margin-top: 10px;
        }

        .service-message-box h5 {
            margin: 0 0 8px 0;
            color: #007bff;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .service-message-box p {
            margin: 0;
            color: #333;
            font-size: 15px;
            line-height: 1.5;
        }

        .service-actions {
            display: flex;
            gap: 10px;
            margin-top: 25px;
            padding-top: 20px;
            border-top: 1px solid #eaeaea;
        }

        .service-action-btn {
            flex: 1;
            padding: 12px;
            border-radius: 8px;
            border: none;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.3s;
        }

        .service-action-btn.call {
            background: #28a745;
            color: white;
        }

        .service-action-btn.call:hover {
            background: #218838;
            transform: translateY(-2px);
        }

        .service-action-btn.whatsapp {
            background: #25D366;
            color: white;
        }

        .service-action-btn.whatsapp:hover {
            background: #1da851;
            transform: translateY(-2px);
        }

        .service-action-btn.accept {
            background: #007bff;
            color: white;
            font-weight: bold;
        }

        .service-action-btn.accept:hover {
            background: #0056b3;
            transform: translateY(-2px);
        }

        /* Scrollbar personalizado */
        .notifications-list::-webkit-scrollbar,
        .notification-detail-content::-webkit-scrollbar {
            width: 6px;
        }

        .notifications-list::-webkit-scrollbar-track,
        .notification-detail-content::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        .notifications-list::-webkit-scrollbar-thumb,
        .notification-detail-content::-webkit-scrollbar-thumb {
            background: #007bff;
            border-radius: 3px;
        }

        .notifications-list::-webkit-scrollbar-thumb:hover,
        .notification-detail-content::-webkit-scrollbar-thumb:hover {
            background: #0056b3;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .notifications-dropdown {
                position: fixed;
                top: 70px;
                right: 10px;
                left: 10px;
                width: auto;
                max-width: 400px;
                margin: 0 auto;
            }
            
            .notification-item {
                padding: 12px 15px;
            }
            
            .notification-actions {
                flex-direction: column;
                gap: 10px;
            }
            
            .actions-left {
                width: 100%;
                justify-content: space-between;
            }
            
            .notification-detail-content {
                width: 95%;
                max-height: 90vh;
            }
            
            .service-actions {
                flex-direction: column;
            }
            
            .service-info-item {
                flex-direction: column;
                gap: 5px;
            }
            
            .service-info-label {
                width: 100%;
            }
        }

    /* ===== DIALOGO DE CONFIRMACIÓN - ESTILO DE LA IMAGEN ===== */
    .service-confirmation-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 10000;
        padding: 20px;
    }

    .service-confirmation-modal.show {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .confirmation-dialog {
        background: white;
        border-radius: 20px;
        width: 100%;
        max-width: 450px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        overflow: hidden;
        font-family: 'Poppins', sans-serif;
        transform: translateY(20px);
        animation: slideUp 0.4s ease forwards;
    }

    @keyframes slideUp {
        from { transform: translateY(30px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }

    .confirmation-content {
        padding: 30px;
        position: relative;
    }

    /* Estilo para el texto de confirmación */
    .confirmation-text {
        font-size: 16px;
        line-height: 1.6;
        color: #333;
        margin-bottom: 30px;
        text-align: center;
        padding: 20px;
        background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
        border-radius: 12px;
        border: 1px solid #e9ecef;
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
    }

    .service-name-highlight {
        color: #2b4162;
        font-weight: 700;
        font-style: normal;
        background: linear-gradient(135deg, #2b4162 0%, #4a6fa5 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* Botones estilo de la imagen */
    .confirmation-buttons {
        display: flex;
        gap: 15px;
        justify-content: center;
    }

    .confirmation-button {
        padding: 14px 32px;
        border: none;
        border-radius: 10px;
        font-weight: 600;
        font-size: 15px;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        min-width: 140px;
        text-align: center;
        font-family: 'Poppins', sans-serif;
        letter-spacing: 0.3px;
        position: relative;
        overflow: hidden;
    }

    .confirmation-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.7s ease;
    }

    .confirmation-button:hover::before {
        left: 100%;
    }

    /* Botón Aceptar - estilo mejorado */
    .accept-button {
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
        color: white;
        border: none;
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    }

    .accept-button:hover {
        background: linear-gradient(135deg, #218838 0%, #1aa179 100%);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    }

    .accept-button:active {
        transform: translateY(-1px);
    }

    /* Botón Cancelar - estilo mejorado */
    .cancel-button {
        background: white;
        color: #6c757d;
        border: 2px solid #dee2e6;
        box-shadow: 0 4px 15px rgba(108, 117, 125, 0.1);
    }

    .cancel-button:hover {
        background: #f8f9fa;
        border-color: #adb5bd;
        color: #495057;
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(108, 117, 125, 0.2);
    }

    .cancel-button:active {
        transform: translateY(-1px);
    }

    .confirmation-close {
        position: absolute;
        top: 15px;
        right: 15px;
        background: none;
        border: none;
        color: #888;
        font-size: 28px;
        cursor: pointer;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.3s ease;
        z-index: 2;
    }

    .confirmation-close:hover {
        background-color: #f0f0f0;
        color: #333;
        transform: rotate(90deg);
    }

    /* ===== ESTILOS MEJORADOS PARA PERFIL EN NOTIFICACIONES ===== */
    .notification-profile {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 20px;
        padding: 20px;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border-radius: 16px;
        border: 1px solid rgba(0, 123, 255, 0.1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .notification-profile:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        border-color: rgba(0, 123, 255, 0.2);
    }

    .notification-profile::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(to bottom, #2b4162, #007bff);
        border-radius: 4px 0 0 4px;
    }

    .notification-profile-avatar {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        object-fit: cover;
        border: 4px solid white;
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
        transition: all 0.3s ease;
        position: relative;
        z-index: 1;
    }

    .notification-profile-avatar:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    }

    .notification-profile-info {
        flex: 1;
        position: relative;
    }

    /* REGLAS COMPLETAS PARA ELIMINAR EMOJI/CÍRCULO DEL NOMBRE */
    .notification-profile-name {
        font-weight: 800;
        color: #2b4162;
        margin-bottom: 8px;
        font-size: 1.2rem;
        letter-spacing: -0.3px;
        display: flex;
        align-items: center;
        position: relative;
        gap: 0 !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
        text-indent: 0 !important;
        background: none !important;
    }

    /* ELIMINAR TODOS LOS PSEUDO-ELEMENTOS */
    .notification-profile-name::before,
    .notification-profile-name::after,
    .notification-profile-name::first-letter,
    .notification-profile-name::first-line {
        display: none !important;
        content: none !important;
        background: none !important;
        background-image: none !important;
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        position: absolute !important;
        left: -9999px !important;
        pointer-events: none !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    /* ELIMINAR CUALQUIER ELEMENTO DENTRO DEL NOMBRE */
    .notification-profile-name i,
    .notification-profile-name .fa-user,
    .notification-profile-name .emoji,
    .notification-profile-name .user-icon,
    .notification-profile-name .circulo-perfil,
    .notification-profile-name .profile-emoji,
    .notification-profile-name img,
    .notification-profile-name span,
    .notification-profile-name div {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        font-size: 0 !important;
        line-height: 0 !important;
    }

    /* FORZAR QUE SOLO SE MUESTRE EL TEXTO DEL NOMBRE */
    .notification-profile-name {
        content: attr(data-name) !important;
        display: block !important;
    }

    /* RESET COMPLETO DE ESTILOS DEL NOMBRE */
    .notification-profile-name {
        all: unset;
        display: block !important;
        font-weight: 800 !important;
        color: #2b4162 !important;
        margin-bottom: 8px !important;
        font-size: 1.2rem !important;
        letter-spacing: -0.3px !important;
        font-family: 'Poppins', sans-serif !important;
    }

    /* Asegurar que ningún elemento hijo sea visible */
    .notification-profile-name * {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    .notification-profile-rating {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 10px;
    }

    .notification-profile-stars {
        color: #FFD700;
        font-size: 1.1rem;
        text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .notification-profile-rating-value {
        font-weight: 700;
        color: #333;
        font-size: 1rem;
        background: #f8f9fa;
        padding: 4px 10px;
        border-radius: 20px;
        border: 1px solid #e9ecef;
    }

    .notification-profile-stats {
        display: flex;
        gap: 20px;
        margin-top: 12px;
    }

    .notification-profile-stat {
        text-align: center;
        padding: 8px 12px;
        background: white;
        border-radius: 12px;
        border: 1px solid #e9ecef;
        min-width: 80px;
        transition: all 0.3s ease;
    }

    .notification-profile-stat:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        border-color: #007bff;
    }

    .notification-profile-stat-value {
        font-weight: 800;
        color: #2b4162;
        font-size: 1.3rem;
        line-height: 1;
        margin-bottom: 4px;
    }

    .notification-profile-stat-label {
        font-size: 0.8rem;
        color: #6c757d;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .notification-profile-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 12px;
    }

    .notification-profile-badge {
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
        color: white;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
        transition: all 0.3s ease;
    }

    .notification-profile-badge:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
    }

    .notification-profile-badge.premium {
        background: linear-gradient(135deg, #ffc107 0%, #ff9a00 100%);
        box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
    }

    .notification-profile-badge.verified {
        background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
        box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    }

    .notification-profile-badge i {
        font-size: 0.7rem;
    }

    /* ===== PUNTO ROJO MEJORADO ===== */
    .notification-red-dot {
        position: absolute;
        top: 3px;
        right: 3px;
        width: 10px;
        height: 10px;
        background: linear-gradient(135deg, #ff4444 0%, #ff0000 100%);
        border-radius: 50%;
        border: 3px solid #2b4162;
        display: none;
        z-index: 10;
        animation: pulse 2s infinite;
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7);
    }

    @keyframes pulse {
        0% {
            transform: scale(0.95);
            box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7);
        }
        70% {
            transform: scale(1.1);
            box-shadow: 0 0 0 10px rgba(255, 68, 68, 0);
        }
        100% {
            transform: scale(0.95);
            box-shadow: 0 0 0 0 rgba(255, 68, 68, 0);
        }
    }

    /* ===== BADGE MEJORADO ===== */
    .notification-badge {
        position: absolute;
        top: -10px;
        right: -10px;
        background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
        color: white;
        border-radius: 50%;
        width: 22px;
        height: 22px;
        font-size: 11px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 3px solid #2b4162;
        z-index: 10;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(255, 68, 68, 0.4);
    }

    .notification-badge.new-notification {
        animation: badgeBounce 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    @keyframes badgeBounce {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.4); }
    }

    /* ===== NOTIFICACIONES DROPDOWN MEJORADO ===== */
    .notifications-dropdown {
        position: absolute;
        top: calc(100% + 15px);
        right: 0;
        background: white;
        box-shadow: 0 20px 60px rgba(0,0,0,0.25);
        border-radius: 20px;
        width: 420px;
        max-height: 550px;
        overflow: hidden;
        display: none;
        z-index: 1000;
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .notifications-dropdown.show {
        display: block;
        transform: translateY(0);
        opacity: 1;
        animation: dropdownAppear 0.4s ease;
    }

    @keyframes dropdownAppear {
        from {
            opacity: 0;
            transform: translateY(-10px) scale(0.95);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .notifications-header {
        padding: 20px;
        border-bottom: 1px solid rgba(0,0,0,0.08);
        background: linear-gradient(135deg, #2b4162 0%, #1a2d4a 100%);
        color: white;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        overflow: hidden;
    }

    .notifications-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
        animation: shimmer 3s infinite;
    }

    @keyframes shimmer {
        0% { transform: translateX(-100%); }
        100% { transform: translateX(100%); }
    }

    .notifications-header h3 {
        margin: 0;
        font-size: 1.3rem;
        font-weight: 700;
        letter-spacing: 0.5px;
        position: relative;
        z-index: 1;
    }

    .notifications-count {
        background: linear-gradient(135deg, #ff4444 0%, #ff0000 100%);
        color: white;
        padding: 6px 14px;
        border-radius: 20px;
        font-size: 0.9rem;
        font-weight: 700;
        box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
        position: relative;
        z-index: 1;
        animation: countPulse 2s infinite;
    }

    @keyframes countPulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.05); }
    }

    .notifications-list {
        max-height: 380px;
        overflow-y: auto;
        padding: 10px;
        background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
    }

    /* Scrollbar personalizado */
    .notifications-list::-webkit-scrollbar {
        width: 6px;
    }

    .notifications-list::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .notifications-list::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #2b4162 0%, #4a6fa5 100%);
        border-radius: 10px;
    }

    .notifications-list::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, #1a2d4a 0%, #3a5a8c 100%);
    }

    /* ===== NOTIFICATION ITEM MEJORADO ===== */
    .notification-item {
        padding: 18px;
        border-radius: 16px;
        margin: 8px;
        background: white;
        border: 1px solid rgba(0,0,0,0.08);
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: flex-start;
        gap: 15px;
    }

    .notification-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(to bottom, #007bff, #28a745);
        border-radius: 4px 0 0 4px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .notification-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.15);
        border-color: rgba(0, 123, 255, 0.2);
    }

    .notification-item:hover::before {
        opacity: 1;
    }

    .notification-item.unread {
        background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
        border: 1px solid rgba(0, 123, 255, 0.15);
        animation: subtleGlow 2s infinite alternate;
    }

    @keyframes subtleGlow {
        from { box-shadow: 0 4px 15px rgba(0, 123, 255, 0.1); }
        to { box-shadow: 0 4px 20px rgba(0, 123, 255, 0.2); }
    }

    .notification-item.unread::after {
        content: '';
        position: absolute;
        top: 10px;
        left: 10px;
        width: 8px;
        height: 8px;
        background: linear-gradient(135deg, #ff4444 0%, #ff0000 100%);
        border-radius: 50%;
        animation: blink 1.5s infinite;
    }

    @keyframes blink {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.5; }
    }

    .notification-icon {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.2rem;
        flex-shrink: 0;
        box-shadow: 0 6px 20px rgba(0,0,0,0.2);
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .notification-icon::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, transparent, rgba(255,255,255,0.3), transparent);
        transform: translateX(-100%);
        transition: transform 0.6s ease;
    }

    .notification-item:hover .notification-icon::before {
        transform: translateX(100%);
    }

    .notification-icon.service {
        background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    }

    .notification-icon.message {
        background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    }

    .notification-icon.payment {
        background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    }

    .notification-icon.accepted {
        background: linear-gradient(135deg, #20c997 0%, #17a589 100%);
    }

    .notification-icon.alert {
        background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    }

    .notification-content {
        flex: 1;
        min-width: 0;
    }

    .notification-content h4 {
        margin: 0 0 8px 0;
        color: #2b4162;
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.3;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .notification-content p {
        margin: 0 0 10px 0;
        color: #666;
        font-size: 0.9rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .notification-time {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #888;
        font-size: 0.8rem;
        font-weight: 500;
    }

    .notification-time i {
        font-size: 0.9rem;
        opacity: 0.7;
    }

    .notification-delete {
        position: absolute;
        right: 12px;
        top: 12px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(0,0,0,0.1);
        color: #888;
        cursor: pointer;
        font-size: 1rem;
        opacity: 0;
        transform: translateX(10px);
        transition: all 0.3s ease;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
    }

    .notification-item:hover .notification-delete {
        opacity: 1;
        transform: translateX(0);
    }

    .notification-delete:hover {
        background: #ff4444;
        color: white;
        border-color: #ff4444;
        transform: translateX(0) rotate(90deg) !important;
    }

    .notification-status {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 4px 10px;
        border-radius: 12px;
        font-size: 0.75rem;
        font-weight: 700;
        margin-left: 8px;
        vertical-align: middle;
        letter-spacing: 0.3px;
    }

    .notification-status.accepted {
        background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
        color: #155724;
        border: 1px solid #b1dfbb;
    }

    .notification-status.pending {
        background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
        color: #856404;
        border: 1px solid #ffeaa7;
    }

    .notifications-empty {
        text-align: center;
        padding: 50px 30px;
        color: #888;
        background: white;
        border-radius: 16px;
        margin: 20px;
        border: 2px dashed #e9ecef;
        transition: all 0.3s ease;
    }

    .notifications-empty:hover {
        border-color: #007bff;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

    .notifications-empty i {
        font-size: 4rem;
        margin-bottom: 20px;
        color: #e9ecef;
        transition: all 0.3s ease;
    }

    .notifications-empty:hover i {
        color: #007bff;
        transform: scale(1.1);
    }

    .notifications-empty h4 {
        margin: 0 0 15px 0;
        color: #666;
        font-size: 1.2rem;
        font-weight: 600;
    }

    .notifications-empty p {
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.5;
        max-width: 300px;
        margin: 0 auto;
        color: #888;
    }

    .notification-actions {
        padding: 20px;
        border-top: 1px solid rgba(0,0,0,0.08);
        background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
        display: flex;
        justify-content: center;
        gap: 12px;
    }

    .btn-mark-all, .btn-delete-all {
        background: white;
        border: 1px solid #dee2e6;
        color: #666;
        padding: 12px 20px;
        border-radius: 12px;
        cursor: pointer;
        font-size: 0.9rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        min-width: 140px;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }

    .btn-mark-all::before, .btn-delete-all::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
        transition: left 0.7s ease;
    }

    .btn-mark-all:hover::before, .btn-delete-all:hover::before {
        left: 100%;
    }

    .btn-mark-all:hover {
        background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
        color: white;
        border-color: #007bff;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    }

    .btn-delete-all:hover {
        background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
        color: white;
        border-color: #ff4444;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255, 68, 68, 0.3);
    }

    /* ===== NOTIFICATION TOAST MEJORADO ===== */
    .notification-toast {
        position: fixed;
        top: 90px;
        right: 25px;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border-left: 6px solid #007bff;
        box-shadow: 0 15px 40px rgba(0,0,0,0.2);
        padding: 20px 25px;
        border-radius: 16px;
        min-width: 320px;
        max-width: 450px;
        z-index: 9999;
        transform: translateX(120%);
        transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        display: flex;
        align-items: center;
        gap: 15px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        overflow: hidden;
    }

    .notification-toast::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transform: translateX(-100%);
        animation: toastShimmer 3s infinite;
    }

    @keyframes toastShimmer {
        0% { transform: translateX(-100%); }
        100% { transform: translateX(100%); }
    }

    .notification-toast.show {
        transform: translateX(0);
    }

    .notification-toast-icon {
        width: 48px;
        height: 48px;
        background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.2rem;
        flex-shrink: 0;
        box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
        position: relative;
        overflow: hidden;
    }

    .notification-toast-icon::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
        transform: rotate(45deg);
        animation: iconShine 3s infinite;
    }

    @keyframes iconShine {
        0% { transform: translateX(-100%) rotate(45deg); }
        100% { transform: translateX(100%) rotate(45deg); }
    }

    .notification-toast-content {
        flex: 1;
    }

    .notification-toast-content h4 {
        margin: 0 0 8px 0;
        color: #2b4162;
        font-size: 1.1rem;
        font-weight: 700;
    }

    .notification-toast-content p {
        margin: 0;
        color: #666;
        font-size: 0.95rem;
        line-height: 1.4;
    }

    /* ===== MODAL DE DETALLES MEJORADO ===== */
    .notification-detail-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(10px);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 10001;
        padding: 20px;
        animation: modalFadeIn 0.3s ease;
    }

    @keyframes modalFadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .notification-detail-modal.show {
        display: flex;
    }

    .notification-detail-content {
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border-radius: 24px;
        width: 100%;
        max-width: 550px;
        max-height: 85vh;
        overflow-y: auto;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.2);
        transform: scale(0.95);
        animation: modalScaleIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    }

    @keyframes modalScaleIn {
        to { transform: scale(1); }
    }

    .notification-detail-header {
        padding: 25px 30px;
        border-bottom: 1px solid rgba(0,0,0,0.08);
        background: linear-gradient(135deg, #2b4162 0%, #1a2d4a 100%);
        color: white;
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: 24px 24px 0 0;
    }

    .notification-detail-header h3 {
        margin: 0;
        font-size: 1.4rem;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .notification-detail-time {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.95rem;
        color: rgba(255, 255, 255, 0.9);
        background: rgba(255, 255, 255, 0.1);
        padding: 8px 16px;
        border-radius: 20px;
        backdrop-filter: blur(10px);
    }

    .notification-detail-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        border: none;
        color: white;
        font-size: 28px;
        cursor: pointer;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.3s ease;
        z-index: 2;
    }

    .notification-detail-close:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
    }

    .notification-detail-body {
        padding: 30px;
    }

    /* ===== SERVICE ACTIONS MEJORADOS ===== */
    .service-actions {
        display: flex;
        gap: 15px;
        margin-top: 30px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .service-action-btn {
        padding: 14px 28px;
        border-radius: 12px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        gap: 10px;
        border: none;
        font-size: 1rem;
        letter-spacing: 0.5px;
        min-width: 160px;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }

    .service-action-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        transition: left 0.7s ease;
    }

    .service-action-btn:hover::before {
        left: 100%;
    }

    .service-action-btn.call {
        background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
        color: white;
        box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    }

    .service-action-btn.call:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(0, 123, 255, 0.5);
    }

    .service-action-btn.whatsapp {
        background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
        color: white;
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }

    .service-action-btn.whatsapp:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
    }

    .service-action-btn.accept {
        background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
        color: white;
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    }

    .service-action-btn.accept:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(40, 167, 69, 0.5);
    }

    .service-action-btn.accept:disabled {
        background: linear-gradient(135deg, #6c757d 0%, #545b62 100%);
        cursor: not-allowed;
        transform: none;
        box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
    }

    .service-action-btn.accept:disabled:hover {
        background: linear-gradient(135deg, #6c757d 0%, #545b62 100%);
        transform: none;
        box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
    }

    .accepted-status {
        color: #28a745;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        background: rgba(40, 167, 69, 0.1);
        border-radius: 20px;
        border: 1px solid rgba(40, 167, 69, 0.2);
    }

    .pending-status {
        color: #ffc107;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        background: rgba(255, 193, 7, 0.1);
        border-radius: 20px;
        border: 1px solid rgba(255, 193, 7, 0.2);
    }

    /* ===== PERFIL DE USUARIO AL ESTILO UBER ===== */
    .uber-profile-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 10002;
        padding: 20px;
        animation: fadeInProfile 0.3s ease;
    }

    @keyframes fadeInProfile {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .uber-profile-modal.show {
        display: flex;
    }

    .uber-profile-container {
        background: white;
        border-radius: 25px 25px 0 0;
        width: 100%;
        max-width: 500px;
        max-height: 90vh;
        overflow-y: auto;
        position: absolute;
        bottom: 0;
        box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.3);
        animation: slideUpProfile 0.4s ease;
    }

    @keyframes slideUpProfile {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }

    .uber-profile-header {
        position: relative;
        padding: 0;
        overflow: hidden;
        border-radius: 25px 25px 0 0;
    }

    .uber-profile-cover {
        height: 180px;
        background: linear-gradient(135deg, #2b4162 0%, #1a2d4a 100%);
        position: relative;
    }

    .uber-profile-cover::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 100%;
        background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
        animation: shimmerCover 3s infinite;
    }

    @keyframes shimmerCover {
        0% { transform: translateX(-100%); }
        100% { transform: translateX(100%); }
    }

    .uber-profile-avatar-container {
        position: relative;
        text-align: center;
        margin-top: -60px;
    }

    .uber-profile-avatar {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        border: 6px solid white;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        display: inline-block;
        position: relative;
        overflow: hidden;
    }

    .uber-profile-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .uber-profile-avatar-badge {
        position: absolute;
        bottom: 10px;
        right: 10px;
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
        color: white;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        border: 3px solid white;
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    }

    .uber-profile-info {
        padding: 25px 30px 20px;
        text-align: center;
    }

    /* ESTILOS PARA EL NOMBRE EN PERFIL UBER - SIN EMOJIS */
    .uber-profile-name {
        font-size: 1.8rem;
        font-weight: 800;
        color: #2b4162;
        margin-bottom: 8px;
        letter-spacing: -0.5px;
        position: relative;
        display: block;
        all: unset;
        display: block !important;
        font-weight: 800 !important;
        color: #2b4162 !important;
        margin-bottom: 8px !important;
        font-size: 1.8rem !important;
        letter-spacing: -0.5px !important;
        font-family: 'Poppins', sans-serif !important;
    }

    /* ELIMINAR PSEUDO-ELEMENTOS EN PERFIL UBER */
    .uber-profile-name::before,
    .uber-profile-name::after,
    .uber-profile-name::first-letter,
    .uber-profile-name::first-line {
        display: none !important;
        content: none !important;
        background: none !important;
        background-image: none !important;
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        position: absolute !important;
        left: -9999px !important;
        pointer-events: none !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    /* ELIMINAR CUALQUIER ELEMENTO DENTRO DEL NOMBRE UBER */
    .uber-profile-name i,
    .uber-profile-name .fa-user,
    .uber-profile-name .emoji,
    .uber-profile-name img,
    .uber-profile-name span,
    .uber-profile-name div {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        font-size: 0 !important;
        line-height: 0 !important;
    }

    .uber-profile-role {
        color: #6c757d;
        font-size: 1rem;
        font-weight: 500;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .uber-profile-rating {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-bottom: 25px;
    }

    .uber-profile-stars {
        color: #FFD700;
        font-size: 1.3rem;
    }

    .uber-profile-rating-value {
        font-weight: 700;
        color: #333;
        font-size: 1.1rem;
        background: #f8f9fa;
        padding: 6px 14px;
        border-radius: 20px;
        border: 1px solid #e9ecef;
    }

    .uber-profile-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .uber-profile-stat {
        text-align: center;
        padding: 15px 10px;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-radius: 12px;
        border: 1px solid #dee2e6;
        transition: all 0.3s ease;
    }

    .uber-profile-stat:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        border-color: #007bff;
    }

    .uber-profile-stat-value {
        font-weight: 800;
        color: #2b4162;
        font-size: 1.5rem;
        line-height: 1;
        margin-bottom: 6px;
    }

    .uber-profile-stat-label {
        font-size: 0.8rem;
        color: #6c757d;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .uber-profile-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        margin-bottom: 25px;
    }

    .uber-profile-badge {
        background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
        color: white;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
        transition: all 0.3s ease;
    }

    .uber-profile-badge:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    }

    .uber-profile-badge.premium {
        background: linear-gradient(135deg, #ffc107 0%, #ff9a00 100%);
    }

    .uber-profile-badge.verified {
        background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    }

    .uber-profile-badge.elite {
        background: linear-gradient(135deg, #9c27b0 0%, #673ab7 100%);
    }

    .uber-profile-actions {
        background: #f8f9fa;
        border-top: 1px solid #e9ecef;
        padding: 20px 30px;
    }

    .uber-profile-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .uber-profile-menu-item {
        padding: 16px 20px;
        border-bottom: 1px solid #e9ecef;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 15px;
        transition: all 0.3s ease;
        border-radius: 10px;
        margin-bottom: 8px;
    }

    .uber-profile-menu-item:last-child {
        border-bottom: none;
    }

    .uber-profile-menu-item:hover {
        background: white;
        transform: translateX(5px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    }

    .uber-profile-menu-item i {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        color: #007bff;
    }

    .uber-profile-menu-item span {
        flex: 1;
        font-weight: 500;
        color: #333;
    }

    .uber-profile-menu-item .menu-arrow {
        color: #6c757d;
        font-size: 0.9rem;
    }

    .uber-profile-menu-item.logout {
        color: #dc3545;
        background: rgba(220, 53, 69, 0.1);
    }

    .uber-profile-menu-item.logout:hover {
        background: rgba(220, 53, 69, 0.2);
    }

    .uber-profile-menu-item.logout i {
        color: #dc3545;
    }

    .uber-profile-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        border: none;
        color: white;
        font-size: 28px;
        cursor: pointer;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.3s ease;
        z-index: 10;
    }

    .uber-profile-close:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
    }

    /* ===== MODAL PARA CAMBIAR FOTO DE PERFIL - MEJORADO Y CENTRADO ===== */
    .modal {
        display: none;
        position: fixed;
        z-index: 10003;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
        animation: fadeIn 0.3s;
    }

    .modal-content {
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        margin: 10% auto;
        padding: 30px;
        border-radius: 20px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.3);
        animation: slideUp 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border: 1px solid rgba(255, 255, 255, 0.2);
        position: relative;
        max-width: 450px;
        width: 85%;
        text-align: center;
    }

    .modal-content h2 {
        color: #2b4162;
        text-align: center;
        margin-bottom: 25px;
        font-size: 1.5rem;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .modal-content h2 i {
        color: #007bff;
    }

    .close {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 28px;
        color: #888;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .close:hover {
        color: #ff4444;
        transform: rotate(90deg);
    }

    .photo-upload-container {
        padding: 15px 0;
        text-align: center;
    }

    .photo-preview-container {
        text-align: center;
        margin-bottom: 20px;
    }

    .photo-preview {
        width: 120px !important;
        height: 120px !important;
        margin: 0 auto 15px;
        border-radius: 50%;
        overflow: hidden;
        border: 4px solid white;
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .photo-preview img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform-origin: center;
        transition: transform 0.3s ease;
    }

    .photo-preview-default {
        color: white;
        text-align: center;
        padding: 15px;
    }

    .photo-preview-default i {
        font-size: 50px;
        margin-bottom: 10px;
        opacity: 0.8;
    }

    .photo-preview-default p {
        margin: 0;
        font-size: 12px;
        opacity: 0.9;
    }

    .photo-options {
        display: flex;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
        margin-top: 15px;
    }

    .btn-option {
        padding: 10px 18px;
        background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
        color: white;
        border: none;
        border-radius: 10px;
        cursor: pointer;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all 0.3s ease;
        min-width: 110px;
        justify-content: center;
        font-size: 14px;
    }

    .btn-option:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0, 123, 255, 0.3);
    }

    .btn-option:nth-child(2) {
        background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    }

    .btn-option:nth-child(3) {
        background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    }

    .crop-options {
        background: #f8f9fa;
        padding: 15px;
        border-radius: 12px;
        margin: 15px 0;
        border: 1px solid #e9ecef;
        text-align: center;
    }

    .crop-options h4 {
        color: #2b4162;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 15px;
        justify-content: center;
    }

    .crop-controls {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .btn-crop {
        padding: 8px 14px;
        background: white;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        cursor: pointer;
        color: #666;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 6px;
        transition: all 0.3s ease;
        font-size: 13px;
    }

    .btn-crop:hover {
        background: #007bff;
        color: white;
        border-color: #007bff;
    }

    .photo-actions {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 20px;
    }

    .btn-primary, .btn-secondary {
        padding: 12px 25px;
        border-radius: 12px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
        border: none;
        min-width: 140px;
        justify-content: center;
        font-size: 14px;
    }

    .btn-primary {
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
        color: white;
    }

    .btn-primary:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
    }

    .btn-primary:disabled {
        background: linear-gradient(135deg, #6c757d 0%, #545b62 100%);
        cursor: not-allowed;
        opacity: 0.7;
    }

    .btn-secondary {
        background: white;
        color: #666;
        border: 2px solid #dee2e6;
    }

    .btn-secondary:hover {
        background: #f8f9fa;
        border-color: #adb5bd;
        color: #495057;
    }

    .photo-info {
        margin-top: 20px;
        padding: 12px;
        background: #f0f8ff;
        border-radius: 12px;
        border: 1px solid #cce5ff;
        color: #004085;
        font-size: 13px;
        text-align: left;
    }

    .photo-info p {
        margin: 6px 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .photo-info i {
        width: 18px;
        text-align: center;
    }

    /* ===== RESPONSIVE MEJORADO ===== */
    @media (max-width: 768px) {
        .notifications-dropdown {
            width: 320px;
            right: -30px;
        }
        
        .notification-profile {
            flex-direction: column;
            text-align: center;
            padding: 25px;
        }
        
        .notification-profile-stats {
            justify-content: center;
        }
        
        .service-actions {
            flex-direction: column;
            align-items: stretch;
        }
        
        .service-action-btn {
            width: 100%;
        }
        
        .notification-toast {
            min-width: 280px;
            max-width: 320px;
            right: 15px;
            top: 80px;
        }
        
        .uber-profile-container {
            max-width: 100%;
            border-radius: 20px 20px 0 0;
        }
        
        .uber-profile-stats {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .uber-profile-avatar {
            width: 100px;
            height: 100px;
        }

        .modal-content {
            width: 90%;
            margin: 15% auto;
            padding: 20px;
        }
        
        .photo-preview {
            width: 100px !important;
            height: 100px !important;
        }
        
        .photo-options {
            flex-direction: column;
            align-items: center;
        }
        
        .btn-option {
            width: 100%;
            max-width: 200px;
        }
        
        .photo-actions {
            flex-direction: column;
        }
        
        .btn-primary, .btn-secondary {
            width: 100%;
        }
    }

    @media (max-width: 480px) {
        .notifications-dropdown {
            width: 280px;
            right: -50px;
        }
        
        .confirmation-dialog {
            max-width: 90%;
            margin: 10px;
        }
        
        .confirmation-content {
            padding: 20px;
        }
        
        .confirmation-buttons {
            flex-direction: column;
        }
        
        .confirmation-button {
            width: 100%;
            min-width: auto;
        }
        
        .notification-detail-content {
            max-width: 95%;
        }
        
        .notification-profile-avatar {
            width: 60px;
            height: 60px;
        }
        
        .notification-item {
            padding: 15px;
            flex-direction: column;
            align-items: flex-start;
        }
        
        .notification-icon {
            width: 40px;
            height: 40px;
            font-size: 1rem;
        }
        
        .notification-content {
            margin-left: 0;
        }
        
        .uber-profile-stats {
            grid-template-columns: 1fr;
        }
        
        .uber-profile-info {
            padding: 20px 15px;
        }
        
        .uber-profile-actions {
            padding: 15px;
        }

        .modal-content {
            margin: 20% auto;
            padding: 15px;
            max-width: 95%;
        }
        
        .photo-preview {
            width: 90px !important;
            height: 90px !important;
        }
        
        .btn-option, .btn-primary, .btn-secondary {
            padding: 10px 15px;
            font-size: 13px;
        }
        
        .photo-options {
            gap: 8px;
        }
        
        .photo-actions {
            gap: 10px;
        }
    }

    /* ===== EFECTOS ESPECIALES ===== */
    .floating-effect {
        animation: float 6s ease-in-out infinite;
    }

    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
    }

    .shine-effect {
        position: relative;
        overflow: hidden;
    }

    .shine-effect::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        animation: shine 3s infinite;
    }

    @keyframes shine {
        0% { left: -100%; }
        100% { left: 100%; }
    }

    /* ===== MEJORAS DE ACCESIBILIDAD ===== */
    .notification-item:focus,
    .service-action-btn:focus,
    .confirmation-button:focus,
    .uber-profile-menu-item:focus {
        outline: 2px solid #007bff;
        outline-offset: 2px;
    }

    /* ===== TRANSICIONES SUAVES ===== */
    * {
        transition: background-color 0.3s ease, border-color 0.3s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @keyframes slideUp {
        from {
            transform: translateY(30px) scale(0.95);
            opacity: 0;
        }
        to {
            transform: translateY(0) scale(1);
            opacity: 1;
        }
    }

    /* REGLAS ESPECÍFICAS PARA ELIMINAR EMOJIS/CÍRCULOS */
    .circulo-perfil {
        display: none !important;
    }

    /* Asegurar que ningún pseudo-elemento se muestre */
    .notification-profile-name::before,
    .notification-profile-name::after,
    .uber-profile-name::before,
    .uber-profile-name::after {
        all: unset !important;
        display: none !important;
        content: none !important;
        background: none !important;
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    /* Eliminar cualquier imagen o icono en el nombre */
    .notification-profile-name img,
    .uber-profile-name img,
    .notification-profile-name i,
    .uber-profile-name i {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
    }

    /* Asegurar que solo se muestre texto */
    .notification-profile-name,
    .uber-profile-name {
        display: block !important;
        text-align: left !important;
        line-height: normal !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    /* Reset completo para nombres de perfil */
    .profile-name-reset {
        all: unset;
        display: block !important;
        font-weight: 800 !important;
        color: #2b4162 !important;
        margin-bottom: 8px !important;
        font-size: 1.2rem !important;
        letter-spacing: -0.3px !important;
        font-family: 'Poppins', sans-serif !important;
    }
