:root {
    --cor-primaria: #30a469;
    --cor-primaria-alt: #30a469;
    --texto-primaria: #ffffff;
    --texto-secundaria: #ffffff;
}

/* Global styling */
body {
    font-family: "Roboto", "Helvetica Neue", sans-serif;
    color: var(--texto-primaria);
    margin: 0;
    padding: 0;
    background: #ffffff;
    min-height: 100vh;
}

a {
    color: var(--texto-primaria);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--cor-primaria);
}

/* Header styling */
.navbar {
    background: var(--cor-primaria);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    border-bottom: 2px solid var(--cor-primaria);
}

/* Estilos da navbar */
.navbar {
    background: var(--cor-primaria);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid var(--cor-primaria);
}

.navbar-brand {
    color: var(--texto-primaria) !important;
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: var(--texto-primaria) !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--cor-primaria) !important;
}

/* Estilos dos cards de galeria */
.gallery-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 2px solid var(--cor-primaria);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    color: var(--texto-primaria);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-color: var(--cor-primaria);
}

/* Estilos do grid de fotos */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Estilos dos cards de foto */
.photo-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--cor-primaria);
    background: #ffffff;
}

.photo-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-card:hover img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--texto-primaria);
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-top: 2px solid var(--cor-primaria);
}

.photo-card:hover .photo-overlay {
    transform: translateY(0);
}

/* Estilos do perfil */
.profile-section {
    background: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 2px solid var(--cor-primaria);
}

.profile-section h2 {
    color: var(--texto-primaria);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.profile-section p {
    color: var(--texto-primaria);
    margin-bottom: 1rem;
}

/* Estilos dos formulários */
.form-group {
    margin-bottom: 1rem;
}

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

.form-control {
    width: 100%;
    padding: 0.5rem;
    border: 2px solid var(--cor-primaria);
    border-radius: 0.375rem;
    background: #ffffff;
    color: #333;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--cor-primaria);
    box-shadow: 0 0 0 3px rgba(48, 164, 105, 0.2);
    background: #ffffff;
}

/* Estilos dos botões */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--cor-primaria);
}

.btn-primary {
    background: var(--cor-primaria);
    color: #ffffff;
    border: 2px solid var(--cor-primaria);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #ffffff;
    color: var(--cor-primaria);
    border-color: var(--cor-primaria);
    transform: translateY(-2px);
}

/* Estilos das mensagens de erro */
.error-message {
    color: #ff4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Estilos das mensagens de sucesso */
.success-message {
    color: var(--cor-primaria);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Estilos do perfil */

.nav-pills-dark {
    width: 100%;
}

.nav-item p {
    margin-bottom: 0;
}

/* Active navigation item */
.nav-link.active {
    background: var(--cor-primaria) !important;
    color: #ffffff !important;
    border-radius: 0.5rem;
    font-weight: 500;
}

/* Other nav links */
.nav-link {
    color: var(--texto-primaria);
    padding: 0.75rem 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: var(--cor-primaria);
    color: #ffffff;
}

/* Icons styling */
.nav-icon {
    font-size: 1rem;
    width: 1.25rem;
    text-align: center;
    margin-right: 0.5rem;
}

/* Separator line */
.nav-item hr {
    margin: 1rem 0;
    opacity: 0.2;
    border-color: #ccc;
}

/* Log out / Sair styling - slightly different color */
.nav-item:last-child .nav-link {
    color: #333;
}

.nav-item:last-child .nav-link:hover {
    color: #000;
}

/* Table styling */
.table-orders {
    margin-bottom: 0;
}

.table-orders thead {
    background-color: #f5f5f5;
}

.table-orders th {
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    padding: 12px 15px;
}

.table-orders td {
    padding: 12px 15px;
    vertical-align: middle;
}

/* Gap between icon and text */
.gap-1 {
    gap: 0.25rem;
}

/* Making sure text and icons align properly */
.d-flex.align-items-center {
    display: flex;
    align-items: center;
}

/* For responsive design */
@media (max-width: 992px) {
    .pe-lg-10 {
        padding-right: 1rem;
    }
}

/* CSS personalizado para a seção de pedidos */

/* Estilo do card principal */
.card {
    border: 2px solid var(--cor-primaria);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    background: #ffffff;
}

/* Cabeçalho do card */
.card-header {
    background: var(--cor-primaria);
    color: var(--texto-primaria);
    padding: 15px 20px;
    border-bottom: 2px solid var(--cor-primaria);
    border-top-left-radius: 6px !important;
    border-top-right-radius: 6px !important;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
}

/* Corpo do card */
.card-body {
    padding: 0;
    background: #ffffff;
    color: var(--texto-primaria);
}

/* Alerta quando não há pedidos */
.alert-info {
    background: #ffffff;
    border: 2px solid var(--cor-primaria);
    color: var(--texto-primaria);
    margin: 15px;
}

/* Estilização da tabela */
.table-responsive {
    padding: 0;
}

.table {
    margin-bottom: 0;
    background: #ffffff;
    color: var(--texto-primaria);
}

.table thead {
    background: var(--cor-primaria);
    border-bottom: 2px solid var(--cor-primaria);
}

.table thead th {
    border-bottom: 2px solid var(--cor-primaria);
    color: var(--texto-primaria);
    font-weight: 600;
    padding: 12px 15px;
    font-size: 14px;
}

.table tbody td {
    padding: 12px 15px;
    vertical-align: middle;
    font-size: 14px;
    color: var(--texto-primaria);
    border-bottom: 1px solid var(--cor-primaria);
}

.table-striped tbody tr:nth-of-type(odd) {
    background: #f8f9fa;
}

.table-bordered {
    border: 2px solid var(--cor-primaria);
}

.table-bordered th,
.table-bordered td {
    border: 1px solid var(--cor-primaria);
}

/* Badges para status */
.badge {
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 3px;
    border: 1px solid var(--cor-primaria);
}

.badge-success {
    background: var(--cor-primaria);
    color: #ffffff;
}

.badge-warning {
    background: #f8f9fa;
    color: var(--cor-primaria);
    border: 1px solid var(--cor-primaria);
}

/* Botão de ações */
.btn-info {
    background: var(--cor-primaria);
    border: 2px solid var(--cor-primaria);
    color: #ffffff;
}

.btn-info:hover {
    background: #ffffff;
    border-color: var(--cor-primaria);
    color: var(--cor-primaria);
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 3px;
}

/* Ícones */
.fas {
    font-size: 14px;
}

/* Responsividade */
@media (max-width: 768px) {
    .table {
        font-size: 13px;
    }

    .table td,
    .table th {
        padding: 8px 10px;
    }

    .btn-sm {
        padding: 3px 8px;
        font-size: 11px;
    }
}

.galeria-show {
    .breadcrumb {
        background: #ffffff;
        padding: 10px 20px;
        border-radius: 10px;
        border: 2px solid var(--cor-primaria);
        color: var(--texto-primaria);
    }

    h1 {
        color: var(--texto-primaria);
        font-size: 2.5rem;
        font-weight: 600;
    }

    .descricao {
        color: var(--texto-primaria);
        font-size: 1rem;
        font-weight: 400;
        text-align: center;
    }

    .photo-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .photo-card {
        position: relative;
        border-radius: 0.5rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        border: 2px solid var(--cor-primaria);
        background: #ffffff;
    }

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

    .photo-card:hover img {
        transform: scale(1.05);
    }

    .photo-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.7);
        color: var(--texto-primaria);
        padding: 1rem;
        transform: translateY(100%);
        transition: transform 0.3s ease;
        border-top: 2px solid var(--cor-primaria);
    }

    .photo-card:hover .photo-overlay {
        transform: translateY(0);
    }

    .photo-overlay h5 {
        color: var(--texto-primaria);
        margin: 0;
    }

    .photo-overlay p {
        color: var(--texto-primaria);
        margin: 0;
        opacity: 0.9;
    }

    .photo-actions {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        z-index: 10;
    }

    .add-to-cart-btn {
        white-space: nowrap;
        opacity: 0;
        transition: opacity 0.3s ease;
        background: var(--cor-primaria) !important;
        color: #ffffff !important;
        border: 2px solid var(--cor-primaria) !important;
    }

    .photo-card:hover .add-to-cart-btn {
        opacity: 1;
    }

    .add-to-cart-feedback {
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 1050;
        background: #ffffff;
        border: 2px solid var(--cor-primaria);
        color: var(--texto-primaria);
    }
}

/* ============================================
   HEADER & FOOTER STYLES
   ============================================ */

/* Header Styles */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1050;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    flex-shrink: 0;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.02em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    color: #374151;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover:not(.active) {
    background: #f9fafb;
    color: #111827;
}

.nav-link i {
    font-size: 16px;
}

.nav-link.btn-link {
    color: #374151;
    font-weight: 500;
}

.nav-link.btn-link:hover:not(.active) {
    background: #f9fafb;
    color: #111827;
}

.nav-link.btn-primary {
    background: #000000;
    color: #ffffff;
    padding: 8px 16px;
}

.nav-link.btn-primary:hover:not(.active) {
    background: #333333;
    color: #ffffff;
}

.nav-link.active {
    background: var(--cor-primaria);
    color: #ffffff !important;
}

.nav-link.active:hover {
    background: var(--cor-primaria);
    color: #ffffff !important;
    opacity: 0.9;
}

.nav-link.btn-link.active {
    background: var(--cor-primaria);
    color: #ffffff !important;
}

.nav-link.btn-primary.active {
    background: var(--cor-primaria);
    color: #ffffff !important;
}

.nav-link.cart-link.active {
    background: var(--cor-primaria);
    color: #ffffff !important;
}

.logout-form-inline {
    margin: 0;
    display: block;
    width: 100%;
}

.logout-btn-inline {
    background: none;
    border: none;
    padding: 8px 12px;
    margin: 0;
    color: #374151;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 15px;
    text-decoration: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
}

.logout-btn-inline:hover:not(.active) {
    background: #f9fafb;
    color: #111827;
}

.logout-btn-inline.active {
    background: var(--cor-primaria);
    color: #ffffff !important;
}

.logout-btn-inline i {
    font-size: 16px;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    color: #6b7280;
    font-size: 14px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.language-selector:hover {
    background: #f9fafb;
    color: #374151;
}

.cart-link {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.mobile-menu-toggle:hover {
    background: #f3f4f6;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: #374151;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* Footer Styles */
.site-footer {
    background: #ffffff;
    color: #6b7280;
    margin-top: 80px;
    border-top: 1px solid #e5e7eb;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 24px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-info {
    max-width: 300px;
}

.footer-logo .logo-text {
    color: #000000;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    display: block;
}

.footer-description {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.footer-stats {
    color: #9ca3af;
    font-size: 13px;
    line-height: 1.6;
}

.footer-section h4 {
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: #111827;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.copyright {
    color: #6b7280;
    font-size: 13px;
    margin: 0;
}

.footer-company {
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.6;
}

.footer-company a {
    color: #6b7280;
    text-decoration: none;
}

.footer-company a:hover {
    color: #111827;
}

.footer-warning {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 16px;
    margin-top: 24px;
    border-radius: 4px;
}

.footer-warning p {
    color: #92400e;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   ORDERS PAGE STYLES
   ============================================ */

body {
    background-color: #ffffff;
}

/* Layout Principal */
.orders-page {
    background-color: #ffffff;
    min-height: 100vh;
    padding: 40px 0;
}

.orders-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

/* Sidebar */
.orders-sidebar {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.sidebar-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.sidebar-nav {
    padding: 8px 0;
}

.sidebar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 15px;
    border-left: 3px solid transparent;
}

.sidebar-nav .nav-item:hover {
    background: #f9fafb;
    color: #111827;
    text-decoration: none;
}

.sidebar-nav .nav-item.active {
    background: #f9fafb;
    color: #000000;
    border-left-color: #000000;
    font-weight: 500;
}

.sidebar-nav .nav-item i {
    width: 20px;
    margin-right: 12px;
    font-size: 16px;
}

.sidebar-nav .nav-item span {
    font-size: 15px;
}

/* Sidebar Divider */
.sidebar-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 8px 0;
}

/* Logout Form */
.logout-form {
    margin: 0;
}

.logout-btn {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
}

.logout-btn:hover {
    background: #f9fafb;
    color: #111827;
}

.logout-btn i {
    color: #6b7280;
}

/* Main Content */
.orders-main {
    padding: 0;
}

.orders-header {
    margin-bottom: 32px;
}

.orders-title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
}

.orders-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

/* Grid de Pedidos/Planos/Pacotes */
.orders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* Cards */
.order-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.order-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.order-card.bonus-card {
    border-color: #10b981;
}

/* Header do Card */
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.order-id {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-number {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.order-status {
    display: flex;
    align-items: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.status-completed {
    background: #d1fae5;
    color: #065f46;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-badge i {
    font-size: 14px;
}

/* Conteúdo do Card */
.order-content {
    padding: 24px;
}

.order-info {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 14px;
    color: #374151;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    width: 18px;
    margin-right: 10px;
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 20px;
}

.total-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.total-amount {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

/* Ações do Card */
.order-actions {
    padding: 16px 24px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.order-btn {
    width: 100%;
    padding: 10px 16px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    font-size: 14px;
    cursor: pointer;
}

.order-btn:hover {
    background: #333333;
    color: #ffffff;
    text-decoration: none;
}

/* Estado Vazio */
.empty-orders {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 40px 20px;
}

.empty-card {
    text-align: center;
    background: #ffffff;
    padding: 60px 40px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    max-width: 400px;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.empty-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 12px 0;
}

.empty-card p {
    color: #6b7280;
    margin: 0 0 24px 0;
    font-size: 14px;
}

.empty-card .btn {
    padding: 12px 24px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    font-size: 14px;
}

.empty-card .btn:hover {
    background: #333333;
    color: #ffffff;
    text-decoration: none;
}

/* Paginação */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding: 0 20px;
}

.pagination-wrapper ul.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: center;
}

.pagination-wrapper ul.pagination li {
    margin: 0;
    list-style: none;
}

.pagination-wrapper ul.pagination li.page-item {
    margin: 0;
}

.pagination-wrapper ul.pagination li a,
.pagination-wrapper ul.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    background: #ffffff;
}

.pagination-wrapper ul.pagination li a:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #111827;
    text-decoration: none;
}

.pagination-wrapper ul.pagination li.active span,
.pagination-wrapper ul.pagination li.active a {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
    cursor: default;
}

.pagination-wrapper ul.pagination li.disabled span,
.pagination-wrapper ul.pagination li.disabled a {
    background: #f9fafb;
    color: #9ca3af;
    border-color: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-wrapper ul.pagination li.disabled span:hover,
.pagination-wrapper ul.pagination li.disabled a:hover {
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #9ca3af;
}

/* ============================================
   CREDITS PAGE STYLES
   ============================================ */

/* Balance Card */
.balance-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
}

.balance-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.balance-icon {
    width: 56px;
    height: 56px;
    background: #fef3c7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #f59e0b;
}

.balance-info {
    flex: 1;
}

.balance-label {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 4px;
}

.balance-amount {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
}

/* ============================================
   MODAL STYLES
   ============================================ */

.modal-content {
    border-radius: 8px;
    border: none;
}

.modal-header {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 24px;
}

.modal-title {
    font-weight: 600;
    font-size: 18px;
    color: #111827;
}

.modal-body {
    padding: 24px;
}

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-control, .form-select {
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    padding: 10px 14px;
    transition: all 0.2s ease;
    font-size: 14px;
}

.form-control:focus, .form-select:focus {
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    outline: none;
}

.modal-footer {
    border-top: 1px solid #e5e7eb;
    padding: 16px 24px;
}

.btn-primary {
    background: #000000;
    border: none;
}

.btn-primary:hover {
    background: #333333;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px;
    }

    .orders-layout {
        grid-template-columns: 240px 1fr;
        gap: 24px;
    }

    .orders-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 12px 16px;
    }

    .logo-text {
        font-size: 22px;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1051;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
        gap: 4px;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 12px 16px;
        border-radius: 8px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 5px);
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -5px);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 20px 32px;
    }

    .footer-info {
        max-width: none;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
    }

    .orders-page {
        padding: 24px 0;
    }

    .orders-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }

    .orders-sidebar {
        position: static;
        border: none;
        background: transparent;
    }

    .sidebar-header {
        padding: 16px 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .sidebar-nav {
        display: flex;
        overflow-x: auto;
        padding: 12px 0;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .sidebar-nav .nav-item {
        white-space: nowrap;
        min-width: auto;
        padding: 10px 16px;
        border-left: none;
        border-bottom: 2px solid transparent;
        border-radius: 6px;
        background: #f9fafb;
    }

    .sidebar-nav .nav-item.active {
        border-left: none;
        border-bottom-color: #000000;
        background: #ffffff;
    }

    .orders-title {
        font-size: 28px;
    }

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

    .order-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        padding: 16px 20px;
    }

    .order-content {
        padding: 20px;
    }

    .order-actions {
        padding: 16px 20px;
    }

    .balance-card {
        padding: 20px;
    }

    .balance-content {
        flex-direction: column;
        text-align: center;
    }

    .pagination-wrapper {
        padding: 0 10px;
    }

    .pagination-wrapper ul.pagination {
        gap: 6px;
    }

    .pagination-wrapper ul.pagination li a,
    .pagination-wrapper ul.pagination li span {
        min-width: 36px;
        height: 36px;
        padding: 6px 10px;
        font-size: 13px;
    }
}

@media (min-width: 769px) {
    .nav-list {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
    }

    .mobile-menu-toggle {
        display: none !important;
    }

    .main-nav {
        position: static !important;
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 10px 12px;
    }

    .logo-text {
        font-size: 20px;
    }

    .footer-content {
        padding: 32px 16px 24px;
    }

    .footer-bottom {
        padding: 20px 16px;
    }

    .orders-layout {
        padding: 0 12px;
    }

    .orders-title {
        font-size: 24px;
    }

    .order-content {
        padding: 16px;
    }

    .order-header {
        padding: 16px;
    }

    .order-actions {
        padding: 16px;
    }

    .balance-amount {
        font-size: 28px;
    }

    .empty-card {
        padding: 40px 24px;
    }

    .pagination-wrapper {
        padding: 0;
    }

    .pagination-wrapper ul.pagination {
        gap: 4px;
    }

    .pagination-wrapper ul.pagination li a,
    .pagination-wrapper ul.pagination li span {
        min-width: 32px;
        height: 32px;
        padding: 4px 8px;
        font-size: 12px;
    }
}

/* ============================================
   ORDER DETAIL PAGE STYLES
   ============================================ */

/* Layout Principal */
.order-detail-page {
    background-color: #ffffff;
    min-height: 100vh;
    padding: 40px 0;
}

/* Header do Pedido */
.order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.order-detail-header .header-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.order-detail-title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.order-status-badge {
    display: flex;
    align-items: center;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 14px;
}

.back-btn:hover {
    background: #333333;
    color: #ffffff;
    text-decoration: none;
}

/* Conteúdo Principal */
.order-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.order-photos-card {
    grid-column: 1 / -1;
}

/* Cards */
.order-info-card,
.order-summary-card,
.order-photos-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.order-info-card .card-header,
.order-summary-card .card-header,
.order-photos-card .card-header {
    padding: 20px 24px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.order-info-card .card-title,
.order-summary-card .card-title,
.order-photos-card .card-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-info-card .card-title i,
.order-summary-card .card-title i,
.order-photos-card .card-title i {
    color: #6b7280;
    font-size: 16px;
}

.order-info-card .card-content,
.order-summary-card .card-content,
.order-photos-card .card-content {
    padding: 24px;
}

/* Grid de Informações */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.order-detail-page .info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-detail-page .info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-detail-page .info-label i {
    color: #9ca3af;
    font-size: 14px;
}

.order-detail-page .info-value {
    font-size: 16px;
    color: #111827;
    font-weight: 500;
}

/* Resumo Financeiro */
.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

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

.summary-item.total {
    border-top: 1px solid #e5e7eb;
    margin-top: 16px;
    padding-top: 16px;
    font-weight: 600;
}

.summary-item.discount {
    color: #059669;
}

.summary-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.summary-value {
    font-size: 16px;
    color: #111827;
    font-weight: 500;
}

.summary-item.total .summary-value {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

/* Grid de Fotos */
.order-detail-page .photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.order-detail-page .photo-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.order-detail-page .photo-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.photo-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.photo-thumbnail {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f3f4f6;
}

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

.order-detail-page .photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.order-detail-page .photo-item:hover .photo-overlay {
    opacity: 1;
}

.order-detail-page .photo-item:hover .photo-thumbnail img {
    transform: scale(1.05);
}

.order-detail-page .photo-overlay i {
    color: white;
    font-size: 24px;
}

.photo-info {
    padding: 16px;
}

.photo-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 6px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.photo-gallery {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 8px 0;
}

.photo-price {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

/* Estado Vazio */
.order-detail-page .empty-photos {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.order-detail-page .empty-photos i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #9ca3af;
}

.order-detail-page .empty-photos p {
    margin: 0;
    font-size: 14px;
}

/* Responsividade Order Detail */
@media (max-width: 1024px) {
    .order-detail-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .order-detail-page {
        padding: 24px 0;
    }

    .order-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .order-detail-header .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .order-detail-title {
        font-size: 28px;
    }

    .order-detail-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .order-detail-page .photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }

    .order-info-card .card-content,
    .order-summary-card .card-content,
    .order-photos-card .card-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .order-detail-title {
        font-size: 24px;
    }

    .order-detail-page .photos-grid {
        grid-template-columns: 1fr;
    }

    .order-info-card .card-content,
    .order-summary-card .card-content,
    .order-photos-card .card-content {
        padding: 16px;
    }

    .order-info-card .card-header,
    .order-summary-card .card-header,
    .order-photos-card .card-header {
        padding: 16px 20px;
    }
}
