/* ===== VARIÁVEIS GLOBAIS ===== */
:root {
    --primary-color: #00a9a7;
    /* Cor principal (verde-água vibrante) */
    --dark-color: #ffffff;
    /* Fundo claro / modo padrão branco */
    --text-color: #333333;
    /* Texto principal escuro */
    --secondary-color: #f5f5f5;
    /* Fundo secundário suave */
    --accent-color: #00c3c0;
    /* Destaques e botões */
    --admin-color: #007bff;
    /* Azul padrão para painéis/admin */
    --success-color: #28a745;
    /* Verde de sucesso */
    --warning-color: #ffc107;
    /* Amarelo de aviso */
    --danger-color: #dc3545;
    /* Vermelho de erro */
    --disabled-color: #cccccc;
    /* Elementos desativados */
    --selected-color: #00c3c0;
    /* Itens selecionados */
}

/* ===== RESET E BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark-color);
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* ===== COMPONENTES GLOBAIS ===== */

/* Botões Primários */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--admin-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px #00c3c02c;
    color: white;
}

/* Botões de Ação */
.btn-success-custom {
    background: linear-gradient(135deg, var(--success-color), #66BB6A);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
    cursor: pointer;
}

.btn-success-custom:hover {
    background: linear-gradient(135deg, #66BB6A, var(--success-color));
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.4);
}

.btn-warning-custom {
    background: linear-gradient(135deg, var(--warning-color), #FFB74D);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 12px;
    margin-right: 5px;
    cursor: pointer;
}

.btn-warning-custom:hover {
    background: linear-gradient(135deg, #FFB74D, var(--warning-color));
    transform: translateY(-1px);
}

.btn-danger-custom {
    background: linear-gradient(135deg, var(--danger-color), #EF5350);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 12px;
    cursor: pointer;
}

.btn-danger-custom:hover {
    background: linear-gradient(135deg, #EF5350, var(--danger-color));
    transform: translateY(-1px);
}

/* Formulários Globais */
.form-control-custom {
    border: 1px solid #444;
    padding: 12px 15px;
    border-radius: 8px;
    width: 100%;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem #00c3c02c;
    outline: none;
}

.form-control-custom::placeholder {
    color: #888;
}

.form-label-custom {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

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

/* Tabelas Globais */
.table-responsive {
    border-radius: 10px;
    overflow: hidden;
}

.custom-table {
    width: 100%;
    background-color: transparent;
    color: var(--text-color);
}

.custom-table th {
    background-color: var(--accent-color);
    color: var(--dark-color);
    font-weight: 600;
    padding: 15px;
    border: none;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.custom-table td {
    padding: 15px;
    border-bottom: 1px solid #444;
    vertical-align: middle;
}

.custom-table tbody tr:hover {
    background-color: #00c3c02c;
}

/* Search Box Global */
.search-box {
    border: 1px solid #444;
    padding: 8px 15px;
    border-radius: 25px;
    width: 250px;
}

.search-box:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem #00c3c02c;
}

/* Modais Globais */
.modal-content {
    background-color: var(--secondary-color);
    border: 1px solid rgba(106, 13, 173, 0.3);
    border-radius: 15px;
}

.modal-header {
    border-bottom: 1px solid #444;
    padding: 20px 25px;
}

.modal-title {
    color: var(--text-color);
    font-weight: 600;
}

.btn-close {
    filter: invert(1);
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    border-top: 1px solid #444;
    padding: 20px 25px;
}

/* ===== LOGIN ADMIN ===== */

/* Layout do Login Admin */
.admin-login-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.admin-login-card {
    background-color: var(--dark-color);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    border: 2px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.admin-login-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--admin-color));
}

/* Logo e Branding do Login */
.logo-container {
    text-align: center;
    margin-bottom: 35px;
}

.logo {
    width: 100px;
    margin-bottom: 15px;
    padding: 15px;
}

.brand-name {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.admin-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--admin-color));
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px #007bff3f;
}

/* Formulário do Login Admin */
.form-label {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
}

.form-control {
    background-color: var(--dark-color);
    border: 2px solid var(--disabled-color);
    color: var(--text-color);
    padding: 15px 20px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: var(--dark-color);
    border-color: var(--primary-color);
    color: var(--text-color);
    box-shadow: 0 0 0 0.25rem #00a9a644;
}

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

.input-group-text {
    background-color: var(--dark-color);
    border: 2px solid var(--disabled-color);
    color: var(--primary-color);
    font-size: 18px;
    border-right: none;
    padding: 15px 18px;
}

.input-group .form-control {
    border-left: none;
    margin-bottom: 0;
}

.input-group {
    margin-bottom: 25px;
}

/* Botão do Login Admin */
.btn-admin-login {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 16px;
    font-weight: 700;
    border-radius: 10px;
    width: 100%;
    margin-top: 15px;
    transition: all 0.3s ease;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

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

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

.btn-admin-login:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--admin-color));
    transform: translateY(-3px);
    box-shadow: 0 10px 30px #007bff57;
    color: var(--dark-color);
}

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

/* Elementos Específicos do Login */
.forgot-password {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.forgot-password a {
    color: var(--primary-color);
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.forgot-password a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.toggle-password {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 15px 18px;
}

.toggle-password:hover {
    color: var(--accent-color);
    background-color: rgba(138, 43, 226, 0.1);
}

.admin-features {
    background-color: rgba(18, 18, 18, 0.5);
    border-radius: 10px;
    padding: 20px;
    margin-top: 25px;
    border-left: 4px solid var(--primary-color);
}

.admin-features-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.admin-features-title i {
    margin-right: 10px;
    color: var(--primary-color);
}

.admin-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-features li {
    padding: 8px 0;
    font-size: 14px;
    color: #cccccc;
    display: flex;
    align-items: center;
}

.admin-features li i {
    margin-right: 10px;
    color: var(--admin-color);
    width: 16px;
}

.security-notice {
    background-color: #2195f32c;
    border: 1px solid #2195f32c;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    font-size: 13px;
    color: var(--admin-color);
    text-align: center;
}

.security-notice i {
    margin-right: 8px;
}

/* ===== PAINEL INICIAL E FUNCIONÁRIOS ===== */

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    border-right: 2px solid #00c3c02c;
    z-index: 1000;
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.sidebar.collapsed {
    transform: translateX(-100%);
}

.sidebar-header {
    padding: 25px 20px;
    border-bottom: 1px solid #444;
    text-align: center;
}

.sidebar-logo {
    width: 40px;
    margin-bottom: 10px;
}

.sidebar-brand {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 5px;
}

.sidebar-subtitle {
    font-size: 12px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-menu {
    padding: 20px 0;
}

.menu-item {
    display: block;
    padding: 15px 25px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.menu-item:hover {
    background-color: #00c3c02c;
    color: var(--text-color);
    border-left-color: var(--primary-color);
}

.menu-item.active {
    background-color: #00c3c02c;
    color: var(--text-color);
    border-left-color: var(--primary-color);
}

.menu-item i {
    width: 20px;
    margin-right: 15px;
    font-size: 16px;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

.main-content.expanded {
    margin-left: 0;
}

/* Header */
.main-header {
    background-color: var(--secondary-color);
    padding: 20px 30px;
    border-bottom: 1px solid #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 20px;
    margin-right: 20px;
    cursor: pointer;
    display: none;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.user-name {
    font-weight: 600;
    color: var(--text-color);
}

.logout-btn {
    background: none;
    border: none;
    color: var(--admin-color);
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.logout-btn:hover {
    color: var(--danger-color);
}

/* ===== PAINEL INICIAL ===== */

/* Dashboard Content */
.dashboard-content {
    padding: 30px;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    border-radius: 15px;
    padding: 25px;
    border: 1px solid #00c3c02c;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px #00c3c02c;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
}

.stat-icon.clients {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.stat-icon.appointments {
    background: linear-gradient(135deg, #2196F3, #21CBF3);
    color: white;
}

.stat-icon.pending {
    background: linear-gradient(135deg, var(--warning-color), #FFB74D);
    color: white;
}

.stat-icon.revenue {
    background: linear-gradient(135deg, var(--success-color), #66BB6A);
    color: white;
}

.stat-icon.cancellations {
    background: linear-gradient(135deg, var(--danger-color), #EF5350);
    color: white;
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-change {
    font-size: 12px;
    margin-top: 10px;
}

.stat-change.positive {
    color: var(--success-color);
}

.stat-change.negative {
    color: var(--danger-color);
}

/* Clients Section */
.clients-section {
    border-radius: 15px;
    padding: 25px;
    border: 1px solid #00c3c02c;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 10px;
    color: var(--text-color);
}

.clients-table {
    width: 100%;
    background-color: transparent;
    color: var(--text-color);
}

.clients-table th {
    background-color: var(--accent-color);
    color: var(--dark-color);
    font-weight: 600;
    padding: 15px;
    border: none;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.clients-table td {
    padding: 15px;
    border-bottom: 1px solid #444;
    vertical-align: middle;
}

.clients-table tbody tr:hover {
    background-color: #00c3c02c;
}

.whatsapp-link {
    color: #25D366;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background-color: rgba(255, 152, 0, 0.2);
    color: var(--warning-color);
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.status-completed {
    background-color: rgba(76, 175, 80, 0.2);
    color: var(--success-color);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-cancelled {
    background-color: rgba(244, 67, 54, 0.2);
    color: var(--danger-color);
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.status-dropdown {
    background-color: var(--secondary-color);
    border: 1px solid #444;
    color: var(--text-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
}

.status-dropdown:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ===== FUNCIONÁRIOS ===== */

/* Page Content */
.page-content {
    padding: 30px;
}

/* Content Sections */
.content-section {
    border-radius: 15px;
    padding: 25px;
    border: 1px solid #00c3c02c;
    margin-bottom: 30px;
}

/* Cargo Management */
.cargo-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.cargo-input-group input {
    flex: 1;
}

.cargo-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cargo-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cargo-tag .remove-cargo {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 10px;
    padding: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.cargo-tag .remove-cargo:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ===== SERVIÇOS ===== */

/* Service Table Specific Styles */
.service-title {
    font-weight: 600;
    color: var(--text-color);
    font-size: 16px;
}

.service-description {
    color: #aaa;
    font-size: 14px;
    line-height: 1.4;
}

.service-price {
    font-weight: 700;
    color: var(--success-color);
    font-size: 16px;
}

/* Service Form Styles */
.service-textarea {
    resize: vertical;
    min-height: 100px;
}

.service-currency {
    background-color: rgba(18, 18, 18, 0.7);
    border: 2px solid #444;
    border-right: none;
    color: var(--success-color);
    font-weight: 600;
}

.form-text-helper {
    color: #888;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Input Group for Services */
.input-group .form-control-custom {
    border-left: none;
    margin-bottom: 0;
}

.input-group {
    margin-bottom: 5px;
}

/* Service Modal Enhancements */
.modal-dialog {
    max-width: 600px;
}

/* Service Actions */
.service-actions {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

/* ===== GALERIA ===== */

/* Gallery Stats */
.gallery-stats {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stats-text {
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

/* Gallery Card */
.gallery-card {
    background-color: rgba(51, 51, 51, 0.8);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(106, 13, 173, 0.2);
    transition: all 0.3s ease;
    position: relative;
    animation: slideInUp 0.5s ease-out;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(106, 13, 173, 0.3);
    border-color: rgba(106, 13, 173, 0.4);
}

/* Gallery Image Container */
.gallery-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-image {
    transform: scale(1.05);
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.8), rgba(106, 13, 173, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* Gallery Buttons */
.gallery-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.gallery-btn-view {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.gallery-btn-view:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: scale(1.1);
}

.gallery-btn-delete {
    background: linear-gradient(135deg, var(--danger-color), #EF5350);
}

.gallery-btn-delete:hover {
    background: linear-gradient(135deg, #EF5350, var(--danger-color));
    transform: scale(1.1);
}

/* Gallery Card Info */
.gallery-card-info {
    padding: 15px;
    text-align: center;
}

.gallery-date {
    color: #aaa;
    font-size: 12px;
    font-weight: 500;
}

/* File Upload Styles */
.file-upload-container {
    position: relative;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-upload-label {
    display: block;
    padding: 40px 20px;
    border: 2px dashed #444;
    border-radius: 10px;
    background-color: rgba(18, 18, 18, 0.5);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.file-upload-label:hover,
.file-upload-label.drag-over {
    border-color: var(--primary-color);
    background-color: rgba(106, 13, 173, 0.1);
    color: var(--primary-color);
}

.file-upload-label i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
    color: var(--primary-color);
}

.file-upload-text {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.file-upload-info {
    display: block;
    font-size: 12px;
    color: #888;
}

/* Image Preview */
.image-preview-container {
    margin-top: 20px;
}

.image-preview {
    position: relative;
    display: inline-block;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(106, 13, 173, 0.3);
}

.image-preview img {
    max-width: 100%;
    max-height: 200px;
    display: block;
}

.remove-preview {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--danger-color), #EF5350);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.remove-preview:hover {
    background: linear-gradient(135deg, #EF5350, var(--danger-color));
    transform: scale(1.1);
}

/* View Image Modal */
.view-image-full {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.view-image-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #444;
}

.view-image-date {
    color: #aaa;
    font-size: 14px;
    font-weight: 500;
}

/* Empty State */
.gallery-empty {
    text-align: center;
    padding: 60px 20px;
}

.empty-state {
    max-width: 400px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 80px;
    color: #444;
    margin-bottom: 20px;
}

.empty-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.empty-description {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Modal Enhancements for Gallery */
.modal-lg {
    max-width: 90%;
}

/* Animation for new cards */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== PERFIL DA LOJA - ADIÇÃO AO STYLE.CSS ===== */

/* Profile Banner Section */
.profile-banner-section {
    margin-bottom: 30px;
}

.profile-banner {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

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

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.3), #00c3c02c);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-banner:hover .banner-overlay {
    opacity: 1;
}

/* Profile Header */
.profile-header {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    background-color: var(--secondary-color);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #00c3c02c;
    position: relative;
}

.profile-avatar-container {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    object-fit: cover;
    box-shadow: 0 10px 30px #00c3c02c;
}

.profile-status-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.status-indicator {
    font-size: 8px;
}

.status-open {
    color: var(--success-color);
}

.status-closed {
    color: var(--danger-color);
}

.status-text {
    color: var(--text-color);
}

/* Profile Basic Info */
.profile-basic-info {
    flex: 1;
    min-width: 0;
}

.profile-name {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.profile-description {
    font-size: 16px;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Profile Info Grid */
.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* Profile Info Cards */
.profile-info-card {
    background-color: var(--secondary-color);
    border-radius: 15px;
    border: 1px solid #00a9a7;
    overflow: hidden;
    transition: all 0.3s ease;
}

.profile-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px #00c3c02c;
}

.card-header {
    padding: 20px 25px;
    border-bottom: 1px solid #00c3c02c;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title i {
    color: var(--primary-color);
    font-size: 16px;
}

.card-content {
    padding: 25px;
}

/* Info Items */
.info-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
}

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

.info-item.full-width {
    flex-direction: column;
    gap: 10px;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
    min-width: 120px;
}

.info-label i {
    color: var(--primary-color);
    font-size: 14px;
    width: 16px;
}

.info-value {
    color: #aaa;
    font-size: 14px;
    text-align: right;
    flex: 1;
    word-break: break-word;
}

.info-item.full-width .info-value {
    text-align: left;
}

/* Links */
.whatsapp-link {
    color: #25D366;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

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

.instagram-link {
    color: #E4405F;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.instagram-link:hover {
    color: #C13584;
}

.whatsapp-link i,
.instagram-link i {
    font-size: 12px;
}

/* Business Hours */
.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    background-color: var(--dark-color);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.hours-item:hover {
    background-color: #00c3c02c;
}

.hours-item.closed {
    border-left-color: var(--danger-color);
    opacity: 0.7;
}

.hours-item .day {
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

.hours-item .time {
    color: #aaa;
    font-size: 14px;
    font-weight: 500;
}

.hours-item.closed .time {
    color: var(--danger-color);
}

/* Modal Enhancements */
.modal-lg {
    max-width: 900px;
}

/* Form Sections */
.form-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #444;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-title i {
    font-size: 14px;
}

/* Image Upload Styles */
.image-upload-container {
    position: relative;
}

.image-upload-label {
    display: block;
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.banner-upload {
    aspect-ratio: 16/9;
    max-height: 120px;
}

.avatar-upload {
    aspect-ratio: 1;
    max-height: 120px;
    border-radius: 50%;
}

.upload-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avatar-preview {
    border-radius: 50%;
}

.upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.8), rgba(106, 13, 173, 0.6));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    gap: 8px;
}

.image-upload-label:hover .upload-overlay {
    opacity: 1;
}

.upload-overlay i {
    font-size: 24px;
}

.upload-overlay span {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Input Group Enhancements */
.input-group .input-group-text {
    background-color: var(--dark-color);
    border: 2px solid var(--disabled-color);
    border-right: none;
    color: var(--primary-color);
    font-weight: 600;
}

.input-group .form-control-custom {
    border-left: none;
}


/* ===== RESPONSIVIDADE ===== */

/* Tablet */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

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

    .main-content {
        margin-left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .main-header {
        padding: 15px 20px;
    }

    .dashboard-content,
    .page-content {
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .search-box {
        width: 100%;
        margin-top: 15px;
    }

    .section-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .custom-table,
    .clients-table {
        font-size: 14px;
    }

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

    .cargo-input-group {
        flex-direction: column;
    }

    /* Login Admin Responsivo */
    .admin-login-container {
        padding: 15px;
    }

    .admin-login-card {
        padding: 30px 25px;
    }

    .logo {
        width: 80px;
    }

    .brand-name {
        font-size: 28px;
    }

    .form-control {
        padding: 12px 15px;
        font-size: 16px;
    }

    .input-group-text,
    .toggle-password {
        padding: 12px 15px;
    }

    .service-description {
        font-size: 13px;
    }

    .service-title {
        font-size: 14px;
    }

    .service-price {
        font-size: 14px;
    }

    .modal-dialog {
        max-width: 95%;
        margin: 10px auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .gallery-card {
        margin-bottom: 0;
    }

    .gallery-image-container {
        height: 180px;
    }

    .gallery-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .gallery-overlay {
        gap: 10px;
    }

    .section-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .gallery-stats {
        justify-content: center;
    }

    .file-upload-label {
        padding: 30px 15px;
    }

    .file-upload-label i {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .file-upload-text {
        font-size: 14px;
    }

    .modal-lg {
        max-width: 95%;
    }

    .view-image-full {
        max-height: 60vh;
    }

    .profile-banner {
        height: 200px;
    }

    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        padding: 25px 20px;
    }

    .profile-avatar {
        width: 120px;
        height: 120px;
    }

    .profile-name {
        font-size: 28px;
    }

    .profile-description {
        font-size: 14px;
    }

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

    .card-header,
    .card-content {
        padding: 20px;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .info-label {
        min-width: auto;
    }

    .info-value {
        text-align: left;
    }

    .whatsapp-link,
    .instagram-link {
        justify-content: flex-start;
    }

    .hours-item {
        padding: 10px 12px;
    }

    .modal-lg {
        max-width: 95%;
        margin: 10px auto;
    }

    .form-section {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }

}

/* Mobile */
@media (max-width: 576px) {
    .content-section {
        padding: 20px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-value {
        font-size: 24px;
    }

    .custom-table,
    .clients-table {
        font-size: 12px;
    }

    .custom-table th,
    .custom-table td,
    .clients-table th,
    .clients-table td {
        padding: 8px 5px;
    }

    .btn-warning-custom,
    .btn-danger-custom {
        padding: 4px 8px;
        font-size: 11px;
    }

    .service-description {
        font-size: 12px;
    }

    .service-title {
        font-size: 13px;
    }

    .service-price {
        font-size: 13px;
    }

    .service-actions {
        flex-direction: column;
        gap: 3px;
    }

    .btn-warning-custom,
    .btn-danger-custom {
        width: 100%;
        margin-right: 0;
        margin-bottom: 3px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-image-container {
        height: 160px;
    }

    .gallery-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }

    .empty-icon {
        font-size: 60px;
    }

    .empty-title {
        font-size: 20px;
    }

    .empty-description {
        font-size: 14px;
    }

    .file-upload-label {
        padding: 25px 10px;
    }

    .file-upload-label i {
        font-size: 32px;
    }

    .file-upload-text {
        font-size: 13px;
    }

    .file-upload-info {
        font-size: 11px;
    }

    .profile-banner {
        height: 150px;
        border-radius: 10px;
    }

    .profile-header {
        padding: 20px 15px;
        border-radius: 10px;
    }

    .profile-avatar {
        width: 100px;
        height: 100px;
    }

    .profile-name {
        font-size: 24px;
    }

    .profile-description {
        font-size: 13px;
    }

    .profile-status-badge {
        bottom: 5px;
        right: 5px;
        padding: 6px 12px;
        font-size: 11px;
    }

    .card-header,
    .card-content {
        padding: 15px;
    }

    .card-title {
        font-size: 16px;
    }

    .info-label,
    .info-value {
        font-size: 13px;
    }

    .hours-item {
        padding: 8px 10px;
    }

    .hours-item .day,
    .hours-item .time {
        font-size: 13px;
    }

    .map-placeholder {
        padding: 30px 15px;
    }

    .map-placeholder i {
        font-size: 24px;
    }

    .map-placeholder span {
        font-size: 12px;
    }

}