/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #333333 100%);
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
}

/* Container principal */
.container {
    max-width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

/* Header */
.header {
    background: #000000;
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #cc0000;
    box-shadow: 0 2px 10px rgba(204, 0, 0, 0.2);
}

/* Simple Header para catálogo */
.simple-header {
    background: #000000;
    padding: 0.8rem;
    border-bottom: 1px solid #cc0000;
    box-shadow: 0 2px 10px rgba(204, 0, 0, 0.2);
}

.simple-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.user-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

/* Categoria do usuário removida da interface */

/* Sistema de Pontos */
.points-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #8b6914;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid #ffb300;
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.user-points {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    font-size: 0.9rem;
    color: #ffd700;
    font-weight: 500;
}

.user-points i {
    font-size: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Notificações */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #cc0000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 300px;
}

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

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification i {
    font-size: 1.2rem;
}

.notification-success i {
    color: #28a745;
}

.notification-info i {
    color: #17a2b8;
}

.notification-warning i {
    color: #ffc107;
}

.notification-error i {
    color: #dc3545;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 32px;
    width: auto;
    max-width: 160px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #cc0000;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Main Content - Mobile First */
.main-content {
    padding: 0.8rem;
    padding-bottom: 100px;
    min-height: 100vh;
}

/* View Containers */
.view-container {
    min-height: 100vh;
    padding-bottom: 100px;
}

/* Cart View */
.cart-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 1rem;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    border: 1px solid #cc0000;
}

.cart-header h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cart-header h2 i {
    color: #cc0000;
    margin-right: 0.5rem;
}

.cart-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.cart-content {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    border: 1px solid #cc0000;
    overflow: hidden;
}

.cart-items-container {
    padding: 1rem;
    max-height: 400px;
    overflow-y: auto;
}

.empty-cart {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.empty-cart i {
    font-size: 4rem;
    color: #cc0000;
    margin-bottom: 1rem;
}

.empty-cart h3 {
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.empty-cart p {
    margin-bottom: 2rem;
}

.cart-item-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    margin-bottom: 0.8rem;
    border: 1px solid #333;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.8rem;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.cart-item-image:hover img {
    transform: scale(1.05);
}

.cart-item-image i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: #ffffff;
    font-weight: bold;
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-display {
    color: #ffffff;
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

.cart-item-total {
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1rem;
}

.remove-btn {
    background: rgba(204, 0, 0, 0.2);
    border: 1px solid #cc0000;
    color: #cc0000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.remove-btn i {
    pointer-events: none;
}

.remove-btn:hover {
    background: #cc0000;
    color: #ffffff;
}

.cart-summary-details {
    padding: 1.5rem;
    border-bottom: 1px solid #cc0000;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.summary-item.total {
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2rem;
    border-top: 1px solid #333;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #cc0000;
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
    z-index: 3000;
    animation: slideInRight 0.3s ease-out;
}

/* Product Modal */
.product-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.product-modal-content {
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid #cc0000;
    border-radius: 8px;
    width: 95%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

.product-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #cc0000;
}

.product-modal-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.3rem;
}

.close-product {
    color: #cc0000;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.close-product i {
    pointer-events: none;
}

.close-product:hover {
    color: #ffffff;
}

.product-modal-body {
    padding: 1rem;
}

.product-modal-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.product-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-modal-info h4 {
    color: #cc0000;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.product-modal-description p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    background: rgba(0, 0, 0, 0.5);
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #333;
}

.detail-item strong {
    color: #cc0000;
    display: block;
    margin-bottom: 0.25rem;
}

.detail-item span {
    color: rgba(255, 255, 255, 0.8);
}

.product-modal-price h3 {
    color: #cc0000;
    font-size: 2rem;
    margin: 1rem 0;
    text-align: center;
}

.product-modal-actions {
    text-align: center;
    margin-top: 1.5rem;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Banner Section */
.banner-section {
    margin-bottom: 1.5rem;
    position: relative;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(135deg, #cc0000, #aa0000);
}

.banner-slider {
    height: 100%;
    position: relative;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.banner-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: #cc0000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.banner-link:hover {
    background: #990000;
    transform: translateY(-2px);
}

/* Modal de Finalização */
.modal-body {
    padding: 1.5rem;
}

.order-summary {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.order-summary h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.order-items {
    margin-bottom: 1rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.item-name {
    color: #ffffff;
    flex: 1;
}

.item-quantity {
    color: #cccccc;
    margin: 0 1rem;
}

.item-price {
    color: #cc0000;
    font-weight: 600;
}

.order-total {
    text-align: right;
    padding-top: 1rem;
    border-top: 2px solid #cc0000;
    color: #ffffff;
    font-size: 1.1rem;
}

.pix-form {
    margin-top: 1rem;
}

.form-help {
    color: #cccccc;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    display: block;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-slide.active {
    opacity: 1;
}

.banner-content h2 {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
    font-weight: bold;
}

.banner-content p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.banner-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #ffffff;
}

/* Search Section */
.search-section {
    margin-bottom: 1.5rem;
}

.search-container {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-box {
    flex: 1;
    display: flex;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #555555;
    border-radius: 8px;
    overflow: hidden;
}

.search-input {
    flex: 1;
    padding: 10px 12px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-btn {
    padding: 10px 12px;
    background: #cc0000;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.search-btn i {
    pointer-events: none;
}

.filter-btn {
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #555555;
    color: #ffffff;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.filter-btn i {
    pointer-events: none;
}

.filter-btn:hover {
    background: rgba(204, 0, 0, 0.2);
    border-color: #cc0000;
}

/* Painel de Filtros */
.filters-panel {
    margin-top: 1rem;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #cc0000;
    border-radius: 12px;
    overflow: hidden;
    animation: slideDown 0.3s ease-out;
}

.filters-content {
    padding: 1.5rem;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group label {
    display: block;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.filter-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #555555;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #cc0000;
    background: rgba(0, 0, 0, 0.7);
}

.price-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #555555;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.price-input:focus {
    outline: none;
    border-color: #cc0000;
    background: rgba(0, 0, 0, 0.7);
}

.price-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.price-range span {
    color: #ffffff;
    font-weight: bold;
}

.filter-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

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

.section-title {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

/* Products Section */
.products-section {
    margin-bottom: 1.5rem;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid #cc0000;
    display: flex;
    justify-content: space-around;
    padding: 0.4rem 0;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.nav-item i {
    pointer-events: none;
}

.nav-item:hover {
    background: rgba(204, 0, 0, 0.1);
}

.nav-item.active {
    background: rgba(204, 0, 0, 0.2);
}

.nav-icon {
    font-size: 1.3rem;
}

.nav-item span {
    font-size: 0.7rem;
    color: #ffffff;
    font-weight: 500;
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #cc0000;
    color: #ffffff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.cart-modal-content {
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid #cc0000;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

.cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #cc0000;
}

.cart-modal-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.3rem;
}

.close-cart {
    color: #cc0000;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
}

.close-cart:hover {
    color: #ffffff;
}

.cart-items {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
}

.cart-summary {
    padding: 1.5rem;
    border-top: 1px solid #cc0000;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    padding: 0 1rem;
}

/* Product Cards Update */
.product-card {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    border: 1px solid #cc0000;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(204, 0, 0, 0.15);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(204, 0, 0, 0.2);
    border-color: #ffffff;
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image {
    width: 100%;
    height: 100%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 2rem;
}

.no-image i {
    font-size: 3rem;
    color: #555;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: #cc0000;
    background: rgba(204, 0, 0, 0.1);
}

.nav-link.active {
    color: #cc0000;
    background: rgba(204, 0, 0, 0.2);
    border: 1px solid #cc0000;
}

/* Login Page */
.login-page {
    min-height: 100vh;
    background: #000;
    position: relative;
    overflow: hidden;
}

.login-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../background.jpg') center center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -2;
}

.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.login-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.login-logo {
    margin-bottom: 2rem;
}

.login-logo-image {
    width: 140px;
    height: auto;
    filter: drop-shadow(0 3px 6px rgba(204, 0, 0, 0.3));
}

.login-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, #cc0000, #990000);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-btn::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;
}

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

.login-btn:hover {
    background: linear-gradient(135deg, #990000, #660000);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(204, 0, 0, 0.5);
}

.login-btn:active {
    transform: translateY(-1px);
}

.login-btn i {
    margin-right: 0.8rem;
}

/* Login Form */
.login-form {
    margin-bottom: 2rem;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-container {
    position: relative;
    margin-bottom: 0;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #cc0000;
    font-size: 1.1rem;
    z-index: 2;
    pointer-events: none;
}

.login-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(204, 0, 0, 0.2);
    border-radius: 12px;
    color: #000000;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.login-input::placeholder {
    color: rgba(0, 0, 0, 0.6);
}

.login-input:focus {
    outline: none;
    border-color: #cc0000;
    background: #ffffff;
    box-shadow: 0 0 20px rgba(204, 0, 0, 0.3);
}

/* Formulários */
.form-container {
    max-width: 400px;
    margin: 1.5rem auto;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    border: 1px solid #cc0000;
    box-shadow: 0 5px 20px rgba(204, 0, 0, 0.15);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #ffffff;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #555555;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #cc0000;
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.15);
}

.form-control::placeholder {
    color: #999999;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.btn i {
    font-size: 14px;
    pointer-events: none;
}

.btn-primary {
    background: linear-gradient(135deg, #cc0000, #aa0000);
    color: #ffffff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #aa0000, #cc0000);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(204, 0, 0, 0.3);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: 1px solid #555555;
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: #cc0000;
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #cc0000, #aa0000);
    color: #ffffff;
}

.btn-success {
    background: linear-gradient(135deg, #00cc00, #00ff00);
    color: #000000;
}

/* Cards de produtos */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 0;
}

.product-card {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    border: 1px solid #cc0000;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(204, 0, 0, 0.15);
    display: flex;
    flex-direction: row;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.2);
    border-color: #ffffff;
}

.product-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.product-info {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #ffffff;
}

.product-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.6rem;
    font-size: 0.8rem;
}

.product-details {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.product-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-actions .btn {
    flex: 1;
    min-width: auto;
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
}

/* Carrinho */
.cart-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid #cc0000;
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 -5px 15px rgba(204, 0, 0, 0.2);
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cart-total {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
}

.cart-items {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 500;
    color: #ffffff;
}

.cart-item-price {
    color: #ffffff;
    font-size: 0.9rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #555555;
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.quantity-btn i {
    font-size: 10px;
    pointer-events: none;
}

.quantity-btn:hover {
    background: rgba(204, 0, 0, 0.2);
    border-color: #cc0000;
}

/* Dashboard */
.dashboard {
    padding: 1rem 0;
}

.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 0.4rem;
    color: #ffffff;
}

.dashboard-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    padding: 1.2rem;
    text-align: center;
    border: 1px solid #cc0000;
    box-shadow: 0 3px 10px rgba(204, 0, 0, 0.15);
}

.stat-number {
    font-size: 1.6rem;
    font-weight: bold;
    color: #cc0000;
    margin-bottom: 0.4rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Tabelas */
.table-container {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #cc0000;
    box-shadow: 0 5px 15px rgba(204, 0, 0, 0.15);
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table th {
    background: rgba(204, 0, 0, 0.15);
    font-weight: 600;
    color: #ffffff;
}

.table td {
    color: rgba(255, 255, 255, 0.9);
}

/* Status badges */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-approved {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.status-rejected {
    background: rgba(204, 0, 0, 0.2);
    color: #cc0000;
    border: 1px solid rgba(204, 0, 0, 0.3);
}

.status-completed {
    background: rgba(0, 255, 255, 0.2);
    color: #00ffff;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

/* Badges para categorias e status */
.badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-bronze {
    background: rgba(205, 127, 50, 0.2);
    color: #cd7f32;
    border: 1px solid rgba(205, 127, 50, 0.3);
}

.badge-prata {
    background: rgba(192, 192, 192, 0.2);
    color: #c0c0c0;
    border: 1px solid rgba(192, 192, 192, 0.3);
}

.badge-ouro {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.badge-success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.badge-danger {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Navegação */
.nav-menu {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .form-container {
        margin: 1rem auto;
        padding: 1.5rem;
    }
    
    .login-container {
        padding: 1rem;
        justify-content: center;
        min-height: 100vh;
    }
    
    .login-logo-image {
        width: 140px;
        height: auto;
        margin-bottom: 1.5rem;
    }
    
    .login-form {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .login-input {
        padding: 1rem 1rem 1rem 2.8rem;
        font-size: 16px; /* Evita zoom no iOS */
        border-radius: 10px;
    }
    
    .input-icon {
        left: 0.8rem;
        font-size: 1rem;
    }
    
    .login-btn {
        padding: 1rem;
        font-size: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }
    
    .alert {
        margin-bottom: 1rem;
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .table-container {
        overflow-x: auto;
    }
    
    /* Mobile Navigation */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: #000000;
        flex-direction: column;
        gap: 0;
        padding: 80px 2rem 2rem;
        transition: right 0.3s ease;
        border-left: 1px solid #cc0000;
        box-shadow: -5px 0 15px rgba(204, 0, 0, 0.2);
        z-index: 1003;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        text-align: left;
        padding: 1rem;
        border-radius: 8px;
        margin-bottom: 0.5rem;
        border: 1px solid transparent;
    }
    
    .nav-link:hover {
        border-color: #cc0000;
    }
    
    .header-content {
        flex-direction: row;
        gap: 0;
    }
    
    /* Overlay para o menu mobile */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1002;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        pointer-events: none;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    /* Botões responsivos */
    .btn {
        min-width: auto;
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .cart-actions .btn {
        width: 100%;
        padding: 15px;
        font-size: 16px;
    }

    .cart-item-image {
        width: 60px;
        height: 60px;
        margin-right: 0.75rem;
    }

    .cart-item-image img {
        border-radius: 8px;
    }

    .cart-item-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .quantity-controls {
        gap: 0.25rem;
    }

    .quantity-display {
        min-width: 25px;
        font-size: 0.9rem;
    }
    
    .search-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .search-box {
        width: 100%;
    }
    
    .filter-btn {
        width: 100%;
    }
    
    /* Filtros responsivos */
    .filters-panel {
        margin-top: 0.5rem;
    }
    
    .filters-content {
        padding: 1rem;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .filter-actions .btn {
        width: 100%;
    }
    
    .price-range {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .price-range span {
        display: none;
    }
}

/* Estilos para telas muito pequenas */
@media (max-width: 480px) {
    .login-container {
        padding: 0.5rem;
    }
    
    .login-logo-image {
        width: 120px;
        margin-bottom: 1rem;
    }
    
    .login-form {
        max-width: 280px;
    }
    
    .login-input {
        padding: 0.9rem 0.9rem 0.9rem 2.5rem;
        font-size: 16px;
    }
    
    .input-icon {
        left: 0.7rem;
        font-size: 0.9rem;
    }
    
    .login-btn {
        padding: 0.9rem;
        font-size: 0.95rem;
        letter-spacing: 1px;
    }
    
    .alert {
        padding: 0.7rem;
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .product-card {
        flex-direction: column;
    }
    
    .product-image {
        width: 100%;
        height: 120px;
    }
    
    .product-info {
        padding: 0.8rem;
    }
    
    .product-title {
        font-size: 0.9rem;
    }
    
    .product-description {
        font-size: 0.75rem;
    }
    
    .product-price {
        font-size: 1.1rem;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Loading spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #cc0000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mensagens de alerta */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: #28a745;
}

.alert-error {
    background: rgba(204, 0, 0, 0.2);
    border: 1px solid #cc0000;
    color: #ff6666;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid #ffc107;
    color: #ffc107;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid #cc0000;
    border-radius: 8px;
    padding: 0;
    width: 95%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #cc0000;
}

.modal-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 1.5rem;
}

.close {
    color: #cc0000;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ffffff;
}

.modal-content form {
    padding: 1rem;
}

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