* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    /* Cores mais escuras e distintas */
    --primary-color: #0f0f20;       /* Mais escuro que o anterior */
    --secondary-color: #0b1122;     /* Mais escuro que o anterior */
    --accent-color: #ffbf00;        /* Amarelo mais intenso */
    --text-color: #f3f3f3;          /* Branco menos intenso para conforto visual */
    --hover-color: rgba(255, 191, 0, 0.25); /* Hover mais visível */
    --green: #2eaf7d;               /* Verde mais escuro */
    --red: #e63946;                 /* Vermelho mais intenso */
    --blue: #3a86ff;                /* Azul mais intenso */
    --yellow: #fcbf49;              /* Amarelo mais escuro */
    --light-bg: #e9ecef;            /* Fundo levemente mais escuro */
    --border-radius: 12px;
    --card-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); /* Sombra mais pronunciada */
    --transition-speed: 0.3s;
}

body {
    display: flex;
    background-color: var(--light-bg);
    height: 100vh;
    font-size: 14px;
    color: #222;                    /* Texto mais escuro para maior contraste */
    line-height: 1.6;
}

/* Sidebar/Menu Lateral - Melhorado visualmente */
.sidebar {
    width: 280px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)); /* Gradiente em ângulo para mais estilo */
    color: var(--text-color);
    height: 100vh;
    position: fixed;
    transition: all var(--transition-speed) ease;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.2); /* Sombra mais pronunciada */
    z-index: 1000;
    border-right: 1px solid rgba(255, 255, 255, 0.05); /* Borda sutil */
}

.logo-container {
    padding: 28px 24px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Borda mais visível */
    margin-bottom: 15px;
    background-color: rgba(0, 0, 0, 0.15); /* Fundo sutilmente diferente */
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3); /* Sombra de texto */
}

.logo-icon {
    margin-right: 12px;
    font-size: 30px;
    color: var(--accent-color);
    filter: drop-shadow(0 0 3px rgba(255, 191, 0, 0.5)); /* Brilho mais intenso */
}

.menu {
    margin-top: 20px;
    padding: 0 8px;
}

.menu-item {
    padding: 14px 20px;
    text-decoration: none;
    margin: 6px 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
    background-color: transparent;
}

.menu-item:hover {
    background-color: var(--hover-color);
    transform: translateX(4px);
    color: var(--primary-color);
}

.menu-item.active {
    background-color: var(--hover-color); /* Fundo fixo quando ativo */
    color: var(--primary-color);
    font-weight: 600;
    transform: translateX(4px);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3); /* Glow dourado */
}

.menu-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background-color: var(--primary-color);
    opacity: 0.8;
    border-radius: 0 4px 4px 0;
}

.menu-item:hover::before {
    width: 5px;
}

.menu-item.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(255, 191, 0, 0.4);
    transform: translateX(4px);  /* Mesmo deslocamento do hover */
}

.menu-icon {
    margin-right: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 30px;
    background-color: var(--light-bg);
    overflow-y: auto;
    position: relative;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1); /* Borda mais visível */
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #111;               /* Título mais escuro */
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;               /* Linha mais longa */
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: white;
    padding: 10px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra mais pronunciada */
    border: 1px solid rgba(0, 0, 0, 0.05);    /* Borda sutil */
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-color), #f7d06a); /* Gradiente mais vibrante */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2); /* Sombra mais intensa */
}

/* Dashboard */
.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 35px;
}

.dashboard-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    border: 1px solid rgba(0, 0, 0, 0.05);   /* Borda sutil mas visível */
    overflow: hidden;
    position: relative;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18); /* Sombra mais intensa no hover */
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;             /* Linha superior mais espessa */
    background: var(--accent-color);
}

/* Card components - shared by dashboard and finance */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #222;               /* Título mais escuro */
    letter-spacing: 0.3px;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15); /* Sombra mais intensa */
}

.card-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.card-info {
    font-size: 14px;
    color: #555;                /* Texto mais escuro */
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Schedule section */
.schedule-section {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 25px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05); /* Borda sutil para definir melhor os limites */
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #111;                /* Título mais escuro */
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 26px;              /* Barra lateral mais alta */
    background-color: var(--accent-color);
    border-radius: 3px;
}

.schedule-button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 12px 20px;        /* Botão um pouco maior */
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(255, 191, 0, 0.35); /* Sombra mais intensa */
}

.schedule-button:hover {
    background-color: #fdb500;  /* Amarelo mais escuro no hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(255, 191, 0, 0.45);
}

/* Tabelas com linhas mais visíveis */
.schedule-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.schedule-table th, .schedule-table td {
    padding: 16px;              /* Mais espaçamento */
    text-align: left;
}

.schedule-table th {
    font-weight: 600;
    color: #444;                /* Cabeçalho mais escuro */
    border-bottom: 2px solid #ddd; /* Borda inferior mais visível */
    padding-bottom: 14px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    background-color: rgba(0, 0, 0, 0.02); /* Fundo sutil para o cabeçalho */
}

.schedule-table td {
    border-bottom: 1px solid #ddd; /* Borda mais visível entre linhas */
    vertical-align: middle;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-table tr:hover td {
    background-color: rgba(255, 191, 0, 0.08); /* Hover mais visível */
}

.status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    min-width: 100px;
}

.status.confirmed {
    background-color: rgba(46, 175, 125, 0.15); /* Verde mais escuro */
    color: var(--green);
    border: 1px solid rgba(46, 175, 125, 0.3);  /* Borda mais visível */
}

.status.pending {
    background-color: rgba(252, 191, 73, 0.15); /* Amarelo mais escuro */
    color: #9a6700;                            /* Texto mais escuro para legibilidade */
    border: 1px solid rgba(252, 191, 73, 0.3);  /* Borda mais visível */
}

/* Financial Overview */
.financial-overview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 35px;
}

.finance-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 25px;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05); /* Borda sutil */
}

.finance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18); /* Sombra mais intensa no hover */
}

/* Card icons com cores mais intensas */
.income-icon {
    background: linear-gradient(135deg, #1a9971, #20c997); /* Verde mais escuro e vibrante */
    color: white;
    box-shadow: 0 5px 12px rgba(46, 175, 125, 0.35);
}

.expense-icon {
    background: linear-gradient(135deg, #d13449, #e63946); /* Vermelho mais escuro e vibrante */
    color: white;
    box-shadow: 0 5px 12px rgba(230, 57, 70, 0.35);
}

.profit-icon {
    background: linear-gradient(135deg, #2667db, #3a86ff); /* Azul mais escuro e vibrante */
    color: white;
    box-shadow: 0 5px 12px rgba(58, 134, 255, 0.35);
}

.balance-icon {
    background: linear-gradient(135deg, #e6a503, #fcbf49); /* Amarelo mais vibrante */
    color: white;
    box-shadow: 0 5px 12px rgba(252, 191, 73, 0.35);
}

/* Card values com cores mais escuras */
.income-value {
    color: #1a9971; /* Verde mais escuro */
    display: inline-flex;
    align-items: baseline;
}

.income-value::before {
    content: '+';
    margin-right: 2px;
    font-size: 24px;
}

.expense-value {
    color: #d13449; /* Vermelho mais escuro */
    display: inline-flex;
    align-items: baseline;
}

.expense-value::before {
    content: '-';
    margin-right: 2px;
    font-size: 24px;
}

.profit-value {
    color: #2667db; /* Azul mais escuro */
    display: inline-flex;
    align-items: baseline;
}

/* Date filters */
.date-filter {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 20px 25px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05); /* Borda sutil */
}

.filter-title {
    font-size: 16px;
    font-weight: 600;
    color: #222;               /* Texto mais escuro */
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-title::before {
    content: '\1F4C5';  /* Calendar emoji */
    font-size: 18px;
    color: var(--accent-color); /* Cor de destaque */
}

.filter-buttons {
    display: flex;
    gap: 10px;
}

.filter-button {
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid #ddd;    /* Borda mais escura */
    background-color: white;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06); /* Sombra mais visível */
}

.filter-button:hover {
    border-color: var(--accent-color);
    background-color: rgba(255, 191, 0, 0.08); /* Hover mais visível */
}

.filter-button.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
    box-shadow: 0 3px 8px rgba(255, 191, 0, 0.35); /* Sombra mais intensa */
    font-weight: 600;
}

.date-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}

.date-input {
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;    /* Borda mais escura */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06); /* Sombra mais visível */
    font-family: inherit;
    transition: all var(--transition-speed) ease;
}

.date-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 191, 0, 0.2);
}

/* Transaction tables - Melhorias nas tabelas de transações */
.transactions-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 35px;
}

.transaction-container {
    
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 25px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05); /* Borda sutil */
}




.add-button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(255, 191, 0, 0.35); /* Sombra mais intensa */
}

.add-button:hover {
    background-color: #fdb500;  /* Amarelo mais escuro no hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(255, 191, 0, 0.45);
}

.add-button::before {
    content: '+';
    font-size: 18px;
    font-weight: bold;
}

/* Tabela de transações com linhas mais visíveis */
.transaction-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 10px;
}

.transaction-table th, .transaction-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #ddd; /* Borda mais escura e visível */
    vertical-align: middle;
}

.transaction-table th {
    font-weight: 600;
    color: #444;
    border-bottom: 2px solid #ccc; /* Borda do cabeçalho mais escura */
    padding-bottom: 14px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    background-color: rgba(0, 0, 0, 0.02); /* Fundo sutil para o cabeçalho */
}

.transaction-table tr:last-child td {
    border-bottom: none;
}

.transaction-table tr:hover td {
    background-color: rgba(255, 191, 0, 0.08); /* Hover mais visível */
}

/* Action buttons */
.action-buttons {
    display: flex;
    gap: 8px;
}

.edit-button, .delete-button {
    padding: 8px;                /* Botões um pouco maiores */
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.edit-button {
    color: var(--blue);
    background-color: rgba(58, 134, 255, 0.15); /* Fundo mais visível */
    border: 1px solid rgba(58, 134, 255, 0.2);  /* Borda sutil */
}

.edit-button:hover {
    background-color: rgba(58, 134, 255, 0.25);
}

.delete-button {
    color: var(--red);
    background-color: rgba(230, 57, 70, 0.15); /* Fundo mais visível */
    border: 1px solid rgba(230, 57, 70, 0.2);  /* Borda sutil */
}

.delete-button:hover {
    background-color: rgba(230, 57, 70, 0.25);
}

/* Financial Summary */
.financial-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.summary-container {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 25px;
    border: 1px solid rgba(0, 0, 0, 0.05); /* Borda sutil */
}



/* Tabela de resumo financeiro com linhas mais visíveis */
.summary-table {
    width: 100%;
    border-collapse: collapse;
}

.summary-table th, .summary-table td {
    padding: 14px 15px;
    border-bottom: 1px solid #ddd; /* Borda mais escura e visível */
}

.summary-table th {
    font-weight: 600;
    color: #444;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.02); /* Fundo sutil para o cabeçalho */
}

.summary-table td {
    text-align: right;
}

.total-row {
    font-weight: bold;
    font-size: 18px;
    border-top: 2px solid #ccc; /* Borda superior mais escura e visível */
    background-color: rgba(255, 191, 0, 0.05); /* Fundo sutil para destacar */
}

.category-icon {
    width: 32px;                /* Ícones um pouco maiores */
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 14px;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* Sombra sutil */
}

.service-icon {
    background-color: var(--blue);
}

.product-icon {
    background-color: var(--green);
}

.expense-category-icon {
    background-color: var(--red);
}

.category-cell {
    display: flex;
    align-items: center;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .transactions-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .dashboard,
    .financial-overview {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .date-filter {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .filter-buttons {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 70px;
        overflow: hidden;
    }
    
    .logo-container {
        justify-content: center;
        padding: 20px 0;
    }
    
    .logo {
        display: none;
    }
    
    .menu-item {
        justify-content: center;
        padding: 15px 0;
    }
    
    .menu-item span {
        display: none;
    }
    
    .menu-item.active::before {
        width: 4px;
        height: 100%;
        top: 0;
        left: 0;
    }
    
    .menu-icon {
        margin-right: 0;
        font-size: 20px;
    }
    
    .main-content {
        margin-left: 70px;
        padding: 20px;
    }
    
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .user-info {
        align-self: flex-end;
    }
}

@media (max-width: 576px) {
    .dashboard,
    .financial-overview {
        grid-template-columns: 1fr;
    }
    
    .date-inputs {
        flex-direction: column;
        width: 100%;
    }
    
    .date-input {
        width: 100%;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .schedule-button,
    .add-button {
        width: 100%;
        justify-content: center;
    }
}


.client-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--blue), #6ea8ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.client-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-info {
    flex: 1;
}

.client-name {
    font-weight: 600;
    font-size: 16px;
    color: #222;
    margin-bottom: 3px;
}

.client-email,
.client-phone {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
}

.client-email i,
.client-phone i {
    margin-right: 5px;
    font-size: 12px;
    color: var(--accent-color);
}

.status.active {
    background-color: rgba(46, 175, 125, 0.15);
    color: var(--green);
    border: 1px solid rgba(46, 175, 125, 0.3);
}

.status.inactive {
    background-color: rgba(230, 57, 70, 0.15);
    color: var(--red);
    border: 1px solid rgba(230, 57, 70, 0.3);
}

.search-filter {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.search-box {
    flex: 1;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-family: inherit;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 191, 0, 0.2);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.filter-dropdown {
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: white;
    cursor: pointer;
    font-family: inherit;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
}

.filter-dropdown:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 191, 0, 0.2);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 25px;
}



.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.page-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: white;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
}

.page-button:hover {
    border-color: var(--accent-color);
    background-color: rgba(255, 191, 0, 0.08);
}

.page-button.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
    box-shadow: 0 3px 8px rgba(255, 191, 0, 0.35);
    font-weight: 600;
}

@media (max-width: 992px) {
    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: 1fr;
    }
    
    .search-filter {
        flex-direction: column;
    }
}
.simple-clients-list {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.client-line {
    padding: 15px 20px;
}

.client-info {
    margin-bottom: 10px;
}

.client-main-info {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.client-name {
    font-weight: 600;
    color: #333;
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.client-name i {
    margin-right: 8px;
    color: #4e73df;
}

.client-status {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.client-status.active {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.client-secondary-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-left: 26px; /* Alinhar com o ícone de usuário */
}

.client-info-item {
    font-size: 13px;
    color: #555;
    display: flex;
    align-items: center;
}

.client-info-item i {
    margin-right: 6px;
    color: #6c757d;
    width: 16px;
    text-align: center;
}

.client-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.client-actions button {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.client-actions .edit-button {
    background-color: #fff8e1;
    color: #ff8f00;
}

.client-actions .delete-button {
    background-color: #ffebee;
    color: #c62828;
}

.client-actions button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.client-line-separator {
    height: 1px;
    background: #f0f0f0;
    margin: 15px 0 0 0;
}

.client-line:last-child .client-line-separator {
    display: none;
}

/* Botão flutuante para adicionar cliente */
.add-client-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(255, 191, 0, 0.5);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: none;
    z-index: 100;
}

.add-client-floating:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(255, 191, 0, 0.6);
}




.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 30px;
    background-color: var(--light-bg);
    overflow-y: auto;
    position: relative;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1); /* Borda mais visível */
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #111;               /* Título mais escuro */
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;               /* Linha mais longa */
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: white;
    padding: 10px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra mais pronunciada */
    border: 1px solid rgba(0, 0, 0, 0.05);    /* Borda sutil */
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-color), #f7d06a); /* Gradiente mais vibrante */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2); /* Sombra mais intensa */
}

/* Estilo para a seção de serviços */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18);
}

.service-image {
    height: 180px;
    background-position: center;
    background-size: cover;
    position: relative;
}

.service-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.popular-tag {
    background-color: var(--red);
    color: white;
}

.new-tag {
    background-color: var(--green);
    color: white;
}

.service-content {
    padding: 20px;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
}

.service-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.service-price {
    font-weight: 700;
    font-size: 24px;
    color: var(--accent-color);
}

.service-time {
    display: flex;
    align-items: center;
    color: #666;
    font-weight: 500;
}

.service-time i {
    margin-right: 5px;
    color: var(--accent-color);
}

.service-description {
    color: #555;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-tag {
    background-color: rgba(255, 191, 0, 0.15);
    color: #8a6e00;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 191, 0, 0.3);
}

.feature-tag i {
    margin-right: 5px;
    font-size: 11px;
}

.book-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-color), #fdb500);
    color: var(--primary-color);
    border: none;
    padding: 12px 0;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(255, 191, 0, 0.35);
}

.book-btn:hover {
    background: linear-gradient(135deg, #fdb500, var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(255, 191, 0, 0.45);
}

/* Filtros de serviços */
.service-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filter-chip {
    padding: 10px 20px;
    border-radius: 25px;
    background-color: white;
    color: #444;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
}

.filter-chip:hover {
    border-color: var(--accent-color);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.filter-chip.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
    border-color: var(--accent-color);
    box-shadow: 0 3px 8px rgba(255, 191, 0, 0.35);
}

/* Add Service Button */
.add-service-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(255, 191, 0, 0.5);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: none;
    z-index: 100;
}

.add-service-floating:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(255, 191, 0, 0.6);
}

/* Responsive styles */
@media (max-width: 1200px) {
    .services-container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
    .services-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 70px;
        overflow: hidden;
    }
    
    .logo-container {
        justify-content: center;
        padding: 20px 0;
    }
    
    .logo {
        display: none;
    }
    
    .menu-item {
        justify-content: center;
        padding: 15px 0;
    }
    
    .menu-item span {
        display: none;
    }
    
    .menu-icon {
        margin-right: 0;
        font-size: 20px;
    }
    
    .main-content {
        margin-left: 70px;
        padding: 20px;
    }
    
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .user-info {
        align-self: flex-end;
    }

    .services-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .service-filters {
        justify-content: center;
    }
    
    .service-card {
        max-width: 100%;
    }


    
}




