/* Resetando estilos padrão */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variáveis de cores */
:root {
    --primary: #e63946;
    --secondary: #ffd166;
    --dark: #1d3557;
    --light: #f1faee;
    --gray: #a8a8a8;
    --white: #ffffff;
    --black: #000000;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Estilos gerais */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    margin: 15px auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #d0242f;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

header:not(.header-with-bg) {
    background-color: var(--white);
}

.header-with-bg {
    background-image: url('../img/cabecalho.png');
    background-size: cover;
    background-position: center;
}

.logo img {
    height: 60px;
    border-radius: 50%;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-link {
    position: relative;
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-link:hover {
    background-color: #d0242f;
}

.cart-count {
    background-color: var(--white);
    color: var(--primary);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.whatsapp-link a {
    display: flex;
    align-items: center;
    background-color: #25D366;
    color: var(--white);
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.whatsapp-link a i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.whatsapp-link a:hover {
    background-color: #128C7E;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    padding-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 5rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-content .cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #e63946;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-content .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background-color: #c1121f;
}

.hero-content .cta-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-section {
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Menu Section */
.menu-section {
    background-color: var(--light);
    position: relative;
}

/* Menu Actions */
.menu-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.add-to-cart-btn {
    background-color: #e63946 !important;
    color: #ffffff !important;
    border: none !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
    visibility: visible !important;
}

.add-to-cart-btn:hover {
    background-color: #d0242f !important;
    transform: translateY(-2px);
}

.menu-section::before {
    content: '';
    background-image: url('../img/burger-pattern.png');
    opacity: 0.05;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

.menu-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: all 0.5s ease-in-out;
    opacity: 1;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.menu-item.additional-menu {
    opacity: 0;
    transform: translateY(20px);
}

.menu-item.additional-menu.show {
    opacity: 1;
    transform: translateY(0);
}

.menu-img {
    height: 300px;
    overflow: hidden;
}

.menu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-item:hover .menu-img img {
    transform: scale(1.1);
}

.menu-info {
    padding: 20px;
}

.menu-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.menu-info p {
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.5;
}

.price {
    display: block;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--dark);
}

.menu-cta {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.refresh-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.refresh-btn:hover {
    background: #d0242f;
    transform: rotate(180deg);
}

.refresh-btn:active {
    transform: rotate(180deg) scale(0.95);
}

/* Info Section */
.info-section {
    background-color: var(--white);
}

.info-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.info-map {
    flex: 1;
    min-width: 300px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.info-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.info-details {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-item i {
    font-size: 2rem;
    color: var(--primary);
}

.info-item h3 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 10px;
    color: var(--dark);
}

.info-item p {
    line-height: 1.5;
}

/* Instagram Section */
.instagram-section {
    background-color: var(--light);
    padding: 60px 0;
}

.instagram-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.insta-item {
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.insta-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

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

.insta-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.insta-item:hover img {
    transform: scale(1.1);
}

.insta-cta {
    text-align: center;
    margin-top: 40px;
}

.social-button {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-button i {
    margin-right: 10px;
    font-size: 1.5rem;
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* WhatsApp Section */
.whatsapp-section {
    background-color: #25D366;
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.whatsapp-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.whatsapp-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--white);
    color: #25D366;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.whatsapp-button i {
    margin-right: 10px;
    font-size: 1.5rem;
}

.whatsapp-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 20px;
}

.footer-links, .footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-links h3, .footer-social h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h3::after, .footer-social h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
    margin-top: 10px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--gray);
}



.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: 'Roboto', sans-serif;
}



/* Menu Mobile */
/* Menu Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.mobile-menu-toggle i {
    transition: transform 0.3s ease;
}

.mobile-menu-toggle.active i {
    transform: rotate(90deg);
}

/* Navegação Mobile */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    padding-top: 80px;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    flex-direction: column;
    padding: 20px 0;
    list-style: none;
}

.mobile-nav ul li {
    margin: 0;
    border-bottom: 1px solid var(--light);
}

.mobile-nav ul li a {
    color: var(--dark);
    font-size: 1.1rem;
    padding: 15px 25px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-nav ul li a:hover {
    background-color: var(--light);
    color: var(--primary);
}

.mobile-nav .mobile-actions {
    border-bottom: 1px solid var(--light);
}

.mobile-nav .mobile-cart {
    color: var(--dark);
    font-size: 1.1rem;
    padding: 15px 25px;
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-nav .mobile-cart:hover {
    background-color: var(--light);
    color: var(--primary);
}

.mobile-nav .mobile-actions a {
    color: var(--dark);
    text-decoration: none;
}

.cart-count-mobile {
    color: var(--primary);
    font-weight: bold;
}

/* Media Queries para Mobile */
@media (max-width: 768px) {
    header {
        position: fixed;
        padding: 10px 3%;
        background-image: url('../images/header-bg.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .logo img {
        height: 45px;
    }
    
    /* Esconder navegação desktop */
    .desktop-nav {
        display: none;
    }
    
    /* Esconder ações desktop */
    .desktop-actions {
        display: none !important;
    }
    
    /* Esconder ações do header no mobile */
    .header-actions {
        display: none !important;
    }
    
    /* Mostrar botão do menu mobile */
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Mostrar navegação mobile */
    .mobile-nav {
        display: block;
    }
    
    .hero {
        margin-top: 0;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Layout da seção Sobre Nós no mobile */
    .about-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .about-image {
        order: 1;
    }
    
    .about-text {
        order: 2;
    }
    
    .info-content {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header {
        padding: 8px 2%;
    }
    
    .logo img {
        height: 40px;
    }
    
    .header-actions {
        gap: 8px;
    }
    
    .cart-link {
        padding: 6px 10px;
        min-width: 45px;
        justify-content: center;
    }
    
    .cart-link span {
        display: none;
    }
    
    .whatsapp-link a {
        padding: 6px 10px;
        min-width: 45px;
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

/* Animação para menu mobile */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Melhorar botões de adicionar ao carrinho */
@media (max-width: 768px) {
    .add-to-cart-btn {
        padding: 15px 20px !important;
        font-size: 1rem !important;
        min-height: 48px;
        width: 100%;
        margin-top: 15px;
        border-radius: 8px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }
    
    .menu-item {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .menu-info h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .menu-info p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .menu-price {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .add-to-cart-btn {
        padding: 18px 25px !important;
        font-size: 1.1rem !important;
        min-height: 52px;
    }
    
    .menu-item {
        padding: 15px;
    }
}



/* Área do Usuário Logado */
.user-area {
    display: none;
    align-items: center;
    gap: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    font-weight: 500;
}

.user-info i {
    color: var(--primary);
    font-size: 1.2rem;
}

.user-dropdown {
    position: relative;
}

#user-menu-btn {
    background-color: var(--dark);
    color: var(--white);
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#user-menu-btn:hover {
    background-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.user-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background-color: var(--white);
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    z-index: 1000;
    display: none;
    overflow: hidden;
    animation: slideDown 0.3s ease;
}

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

.user-menu a {
    display: block;
    width: 100%;
    padding: 12px 18px;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
}

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

.user-menu a:hover {
    background-color: var(--light);
    color: var(--primary);
    padding-left: 22px;
}

.user-menu a i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

/* Modais */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

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

.close-btn {
    color: var(--gray);
    background: none;
    border: none;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 25px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: var(--white);
    background-color: var(--primary);
    transform: rotate(90deg);
}

.modal h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--dark);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.modal h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
    margin: 10px auto 0;
}

/* Formulários dos Modais */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    padding: 15px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.modal-form input::placeholder {
    color: var(--gray);
    font-weight: 400;
}

.modal-form button {
    padding: 15px;
    background: linear-gradient(135deg, var(--primary), #d0242f);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    position: relative;
    overflow: hidden;
}

.modal-form 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.5s;
}

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

.modal-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.modal-form button:active {
    transform: translateY(0);
}

.message {
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    text-align: center;
}

.message.success {
    background-color: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.message.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}



/* Estilos para elementos readonly */
.modal-form input[readonly] {
    background-color: #f8f9fa;
    color: var(--gray);
    cursor: not-allowed;
}

.modal-form input[readonly]:focus {
    border-color: #e1e1e1;
    box-shadow: none;
}

/* Estilos para select */
.modal-form select {
    padding: 15px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #fafafa;
    cursor: pointer;
}

.modal-form select:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}



.form-row-modal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Avisos de exclusão */
.warning {
    background-color: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ffeaa7;
    margin-bottom: 15px;
}

.danger {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #f5c6cb;
    margin-bottom: 15px;
}

.delete-btn {
    background-color: #dc3545 !important;
}

.delete-btn:hover {
    background-color: #c82333 !important;
}

/* Responsividade para modais */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 20px;
        margin: 10% auto;
    }
    
    .form-row-modal {
        grid-template-columns: 1fr;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab-button {
        border-bottom: 1px solid #e1e1e1;
    }
    
    .tab-button.active {
        border-bottom: 1px solid var(--primary);
        background-color: var(--light);
    }
    
    .user-area {
        flex-direction: column;
        gap: 5px;
    }
}