/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Container */
.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background-color: #ffffff;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    transition: transform 0.3s ease;
    z-index: 1000;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-header h2 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
}

/* Sidebar Menu */
.sidebar-menu {
    list-style: none;
    padding: 0;
}

.menu-item {
    border-bottom: 1px solid #f8f9fa;
}

.menu-item a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.menu-item a:hover {
    background-color: #f8f9fa;
    color: #495057;
}

.menu-item.active a {
    background-color: #007bff;
    color: white;
}

.menu-item.active a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: #0056b3;
}

.menu-item i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.menu-item span {
    font-size: 0.95rem;
    font-weight: 500;
}

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

/* Top Header */
.top-header {
    background-color: white;
    padding: 15px 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.mobile-sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    margin-right: 15px;
    padding: 5px;
}

.top-header h1 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
}

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

.user-info {
    background-color: #007bff;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Content */
.content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.page-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-content h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.page-content p {
    color: #6c757d;
    font-size: 1rem;
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        width: 260px;
    }
    
    .main-content {
        margin-left: 260px;
    }
    
    .content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .mobile-sidebar-toggle {
        display: block;
    }
    
    .sidebar-toggle {
        display: block;
    }
    
    .mobile-overlay.active {
        display: block;
    }
    
    .top-header {
        padding: 15px 20px;
    }
    
    .top-header h1 {
        font-size: 1.3rem;
    }
    
    .content {
        padding: 15px;
    }
    
    .page-content {
        padding: 20px;
    }
    
    .sidebar-header h2 {
        font-size: 1.1rem;
    }
    
    .menu-item a {
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 100%;
    }
    
    .top-header {
        padding: 12px 15px;
    }
    
    .top-header h1 {
        font-size: 1.2rem;
    }
    
    .content {
        padding: 10px;
    }
    
    .page-content {
        padding: 15px;
    }
    
    .page-content h2 {
        font-size: 1.5rem;
    }
    
    .user-info {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .menu-item a {
        padding: 10px 15px;
    }
    
    .menu-item span {
        font-size: 0.9rem;
    }
}

/* Hover effects and animations */
.menu-item a {
    position: relative;
    overflow: hidden;
}

.menu-item a::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.menu-item a:hover::after {
    left: 100%;
}

/* Scrollbar styling */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Focus states for accessibility */
.menu-item a:focus,
.mobile-sidebar-toggle:focus,
.sidebar-toggle:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Clientes Page Styles */
.clientes-page {
    background-color: #f8f9fa;
    min-height: calc(100vh - 120px);
    padding: 0;
}

.clientes-header {
    background-color: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-content h1 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.page-subtitle {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}

.btn-primary {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-secondary:hover {
    background-color: #545b62;
}

.search-section {
    margin-bottom: 30px;
}

.search-box {
    position: relative;
    max-width: 400px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 0.9rem;
    background-color: white;
}

.search-box input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Client Cards */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.client-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.client-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.client-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.client-icon {
    width: 40px;
    height: 40px;
    background-color: #007bff;
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.client-info h3 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.client-cnpj {
    color: #6c757d;
    font-size: 0.85rem;
    margin: 0;
}

.client-details {
    margin-bottom: 15px;
}

.client-detail {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #495057;
}

.client-detail i {
    width: 16px;
    margin-right: 8px;
    color: #6c757d;
    font-size: 0.8rem;
}

.client-contact {
    margin-bottom: 15px;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.contact-name {
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-detail {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #6c757d;
}

.contact-detail i {
    width: 14px;
    margin-right: 6px;
}

.client-actions {
    display: flex;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.btn-edit {
    flex: 1;
    background-color: transparent;
    color: #6c757d;
    border: 1px solid #e9ecef;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-edit:hover {
    background-color: #f8f9fa;
    border-color: #007bff;
    color: #007bff;
}

.btn-remove {
    flex: 1;
    background-color: transparent;
    color: #dc3545;
    border: 1px solid #e9ecef;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-remove:hover {
    background-color: #f8f9fa;
    border-color: #dc3545;
}

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

.modal-overlay.active {
    display: flex;
}

.modal {
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.2s ease;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

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

.modal-header h2 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #6c757d;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.modal-close:hover {
    background-color: #f8f9fa;
}

.modal-content {
    padding: 25px;
    overflow-y: auto;
    max-height: calc(90vh - 140px);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

/* Responsive Design for Clientes */
@media (max-width: 768px) {
    .clientes-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .modal {
        width: 95%;
        margin: 10px;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .client-card {
        padding: 15px;
    }
    
    .client-actions {
        flex-direction: column;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions button {
        width: 100%;
    }
}

/* Dashboard Specific Styles */
.dashboard-page {
    background-color: #f8f9fa;
    min-height: calc(100vh - 120px);
    padding: 0;
}

.dashboard-header {
    background-color: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dashboard-header h1 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.dashboard-subtitle {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}

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

.stat-card {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    background-color: #f8f9fa;
    color: #6c757d;
}

.stat-icon i {
    font-size: 1.5rem;
}

.stat-content h3 {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
}

/* Status Section */
.status-section {
    margin-bottom: 30px;
}

.status-section h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 0 5px;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.status-card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
    border-left: 4px solid #e9ecef;
}

.status-card:hover {
    transform: translateY(-1px);
}

.status-card.status-draft {
    border-left-color: #6c757d;
}

.status-card.status-open {
    border-left-color: #17a2b8;
}

.status-card.status-negotiation {
    border-left-color: #ffc107;
}

.status-card.status-closed {
    border-left-color: #28a745;
}

.status-card.status-lost {
    border-left-color: #dc3545;
}

.status-icon {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    background-color: #f8f9fa;
    color: #6c757d;
}

.status-icon i {
    font-size: 1.2rem;
}

.status-content {
    flex: 1;
}

.status-number {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.status-label {
    color: #495057;
    font-size: 0.95rem;
    font-weight: 500;
    display: block;
    margin-top: 2px;
}

.status-sublabel {
    color: #6c757d;
    font-size: 0.8rem;
    display: block;
    margin-top: 1px;
}

/* Activities Section */
.activities-section {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.activities-section h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.activities-content {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state {
    text-align: center;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 1rem;
    margin: 0;
}

/* Responsive Design for Dashboard */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .status-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .dashboard-header {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .dashboard-header h1 {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .status-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .status-card {
        padding: 15px;
    }
    
    .status-number {
        font-size: 1.5rem;
    }
    
    .activities-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .dashboard-header {
        padding: 15px;
    }
    
    .dashboard-header h1 {
        font-size: 1.3rem;
    }
    
    .stat-card {
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .stat-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .status-card {
        padding: 12px;
    }
    
    .activities-section {
        padding: 15px;
    }
    
    .empty-state i {
        font-size: 2rem;
    }
}

/* Loading animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-content {
    animation: fadeIn 0.3s ease-out;
}

/* Modelos Page Styles */
.modelos-page {
    background-color: #f8f9fa;
    min-height: calc(100vh - 120px);
    padding: 0;
}

.modelos-header {
    background-color: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Model Cards */
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.model-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 4px solid;
}

.model-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.model-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.model-color-indicator {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.model-info h3 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.model-meta {
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 4px;
}

.model-actions {
    display: flex;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.btn-edit-model {
    flex: 1;
    background-color: transparent;
    color: #6c757d;
    border: 1px solid #e9ecef;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-edit-model:hover {
    background-color: #f8f9fa;
    border-color: #007bff;
    color: #007bff;
}

.btn-remove-model {
    flex: 1;
    background-color: transparent;
    color: #dc3545;
    border: 1px solid #e9ecef;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-remove-model:hover {
    background-color: #f8f9fa;
    border-color: #dc3545;
}

/* Color Picker Styles */
.color-picker-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.color-picker-container input[type="color"] {
    width: 50px;
    height: 40px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    padding: 2px;
}

.color-preview {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #e9ecef;
    background-color: #007bff;
    transition: background-color 0.2s ease;
}

/* Responsive Design for Modelos */
@media (max-width: 768px) {
    .modelos-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }
    
    .models-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .model-card {
        padding: 15px;
    }
    
    .model-actions {
        flex-direction: column;
    }
}

/* Propostas Page Styles */
.propostas-page {
    background-color: #f8f9fa;
    min-height: calc(100vh - 120px);
    padding: 0;
}

.propostas-header {
    background-color: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-status {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 4px 0 0 0;
    font-style: italic;
}

/* Proposal Cards */
.proposals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.proposal-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 4px solid;
}

.proposal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.proposal-card.status-aberto {
    border-left-color: #007bff;
}

.proposal-card.status-rascunho {
    border-left-color: #6c757d;
}

.proposal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 15px;
}

.proposal-info {
    flex: 1;
}

.proposal-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.proposal-title h3 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.proposal-number {
    color: #007bff;
    font-size: 0.85rem;
    font-weight: 500;
}

.proposal-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.proposal-status.status-aberto {
    background-color: #e3f2fd;
    color: #1976d2;
}

.proposal-status.status-rascunho {
    background-color: #f5f5f5;
    color: #6c757d;
}

.proposal-details {
    margin-bottom: 15px;
}

.proposal-detail {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #495057;
}

.proposal-detail i {
    width: 16px;
    margin-right: 8px;
    color: #6c757d;
    font-size: 0.8rem;
}

.proposal-value {
    margin: 15px 0;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #28a745;
}

.proposal-value-amount {
    color: #28a745;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.proposal-value-updated {
    color: #6c757d;
    font-size: 0.8rem;
}

.proposal-actions {
    display: flex;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.btn-proposal {
    flex: 1;
    background-color: transparent;
    color: #6c757d;
    border: 1px solid #e9ecef;
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.btn-proposal:hover {
    background-color: #f8f9fa;
}

.btn-proposal.btn-edit:hover {
    border-color: #007bff;
    color: #007bff;
}

.btn-proposal.btn-pdf:hover {
    border-color: #28a745;
    color: #28a745;
}

.btn-proposal.btn-delete:hover {
    border-color: #dc3545;
    color: #dc3545;
}

/* Client Dropdown Styles */
.client-dropdown-container {
    position: relative;
}

.client-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.client-dropdown input {
    flex: 1;
    padding-right: 40px !important;
    cursor: pointer;
}

.dropdown-arrow {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 4px;
    transition: transform 0.2s ease;
}

.dropdown-arrow.active {
    transform: rotate(180deg);
}

.client-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 300px;
    overflow: hidden;
    display: none;
}

.client-dropdown-menu.active {
    display: block;
}

.client-search {
    position: relative;
    padding: 12px;
    border-bottom: 1px solid #e9ecef;
}

.client-search i {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 0.9rem;
}

.client-search input {
    width: 100%;
    padding: 8px 12px 8px 35px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    font-size: 0.9rem;
}

.client-options {
    max-height: 200px;
    overflow-y: auto;
}

.client-option {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.2s ease;
}

.client-option:hover {
    background-color: #f8f9fa;
}

.client-option:last-child {
    border-bottom: none;
}

.client-option-name {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 2px;
}

.client-option-contact {
    font-size: 0.85rem;
    color: #6c757d;
}

.modal-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

/* Responsive Design for Propostas */
@media (max-width: 768px) {
    .propostas-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }
    
    .proposals-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .proposal-actions {
        flex-wrap: wrap;
    }
    
    .btn-proposal {
        min-width: calc(50% - 4px);
    }
}

@media (max-width: 480px) {
    .proposal-card {
        padding: 15px;
    }
    
    .proposal-actions {
        flex-direction: column;
    }
    
    .btn-proposal {
        min-width: auto;
    }
}

/* Nova Proposta Page Styles */
.nova-proposta-page {
    background-color: #f8f9fa;
    min-height: calc(100vh - 120px);
    padding: 0;
}

.nova-proposta-header {
    background-color: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nova-proposta-content {
    background-color: white;
    padding: 60px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

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

.nova-proposta-content .empty-state i {
    font-size: 4rem;
    color: #007bff;
    margin-bottom: 20px;
}

.nova-proposta-content .empty-state h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.nova-proposta-content .empty-state p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive Design for Nova Proposta */
@media (max-width: 768px) {
    .nova-proposta-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }
    
    .nova-proposta-content {
        padding: 40px 20px;
    }
    
    .nova-proposta-content .empty-state i {
        font-size: 3rem;
    }
    
    .nova-proposta-content .empty-state h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .nova-proposta-content {
        padding: 30px 15px;
    }
    
    .nova-proposta-content .empty-state i {
        font-size: 2.5rem;
    }
    
    .nova-proposta-content .empty-state h3 {
        font-size: 1.2rem;
    }
}

/* Produtos e Serviços Page Styles */
.produtos-servicos-page {
    background-color: #f8f9fa;
    min-height: calc(100vh - 120px);
    padding: 0;
}

.produtos-servicos-header {
    background-color: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Tabs Styles */
.tabs-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid #e9ecef;
    background-color: #f8f9fa;
}

.tab-button {
    flex: 1;
    padding: 15px 20px;
    background-color: transparent;
    border: none;
    color: #6c757d;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.tab-button:hover {
    background-color: #e9ecef;
    color: #495057;
}

.tab-button.active {
    background-color: white;
    color: #007bff;
    border-bottom-color: #007bff;
}

.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
}

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

.tab-section-header h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

/* Product and Service Cards */
.products-grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.product-card,
.service-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e9ecef;
}

.product-card:hover,
.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.item-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.item-icon {
    width: 40px;
    height: 40px;
    background-color: #007bff;
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.item-info h3 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.item-category {
    color: #6c757d;
    font-size: 0.85rem;
    margin: 0;
}

.item-description {
    color: #495057;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.item-pricing {
    margin-bottom: 15px;
}

.item-price {
    color: #28a745;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.item-price-range {
    color: #6c757d;
    font-size: 0.85rem;
}

.item-actions {
    display: flex;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.btn-edit-item {
    flex: 1;
    background-color: transparent;
    color: #6c757d;
    border: 1px solid #e9ecef;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-edit-item:hover {
    background-color: white;
    border-color: #007bff;
    color: #007bff;
}

.btn-remove-item {
    flex: 1;
    background-color: transparent;
    color: #dc3545;
    border: 1px solid #e9ecef;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-remove-item:hover {
    background-color: white;
    border-color: #dc3545;
}

/* Responsive Design for Produtos e Serviços */
@media (max-width: 768px) {
    .produtos-servicos-header {
        padding: 20px;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .tab-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .products-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tab-button {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .product-card,
    .service-card {
        padding: 15px;
    }
    
    .item-actions {
        flex-direction: column;
    }
    
    .tab-content {
        padding: 15px;
    }
}

/* Insumos Page Styles */
.insumos-page {
    background-color: #f8f9fa;
    min-height: calc(100vh - 120px);
    padding: 0;
}

.insumos-header {
    background-color: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.insumos-actions-buttons {
    display: flex;
    gap: 15px;
}

.insumos-actions-buttons .btn-primary {
    display: flex;
    align-items: center;
    gap: 8px;
}

.insumos-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.insumos-grid {
    min-height: 200px;
    margin-bottom: 30px;
}

.insumos-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

/* Responsive Design for Insumos */
@media (max-width: 768px) {
    .insumos-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }
    
    .insumos-actions-buttons {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }
    
    .insumos-actions-buttons .btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .insumos-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .insumos-content {
        padding: 15px;
    }
    
    .insumos-actions-buttons {
        gap: 8px;
    }
}

/* Catalog Insumos Tab Styles */
.catalog-insumos-tab-btn {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #6c757d;
    padding: 12px 20px;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: none;
}

.catalog-insumos-tab-btn:hover {
    background-color: #e9ecef;
    color: #495057;
}

.catalog-insumos-tab-btn.active {
    background-color: white;
    color: #007bff;
    border-color: #007bff;
    border-bottom: 1px solid white;
    position: relative;
    z-index: 1;
}

.catalog-insumos-tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 0 6px 6px 6px;
    background-color: white;
    max-height: 400px;
    overflow-y: auto;
}

.catalog-insumos-tab-content.active {
    display: block;
}

/* Opcionais Page Styles */
.opcionais-page {
    background-color: #f8f9fa;
    min-height: calc(100vh - 120px);
    padding: 0;
}

.opcionais-header {
    background-color: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.opcionais-actions-buttons {
    display: flex;
    gap: 15px;
}

.opcionais-actions-buttons .btn-primary {
    display: flex;
    align-items: center;
    gap: 8px;
}

.opcionais-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.opcionais-grid {
    min-height: 200px;
    margin-bottom: 30px;
}

.opcionais-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.opcional-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.opcional-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.opcional-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.opcional-card .card-title {
    flex: 1;
}

.opcional-card .card-title h3 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.opcional-card .card-category {
    background-color: #e9ecef;
    color: #6c757d;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.opcional-card .card-actions {
    display: flex;
    gap: 8px;
}

.opcional-card .btn-edit,
.opcional-card .btn-remove {
    padding: 6px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.opcional-card .btn-edit {
    background-color: #007bff;
    color: white;
}

.opcional-card .btn-edit:hover {
    background-color: #0056b3;
}

.opcional-card .btn-remove {
    background-color: #dc3545;
    color: white;
}

.opcional-card .btn-remove:hover {
    background-color: #c82333;
}

.opcional-card .card-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.opcional-card .card-details {
    background-color: white;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.opcional-card .detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 10px;
}

.opcional-card .detail-row:last-child {
    margin-bottom: 0;
}

.opcional-card .detail-item {
    display: flex;
    flex-direction: column;
}

.opcional-card .detail-item label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 2px;
}

.opcional-card .detail-item span {
    font-weight: 600;
    color: #2c3e50;
}

.opcional-card .total-value {
    color: #28a745 !important;
    font-size: 1.1rem !important;
}

/* Responsive Design for Opcionais */
@media (max-width: 768px) {
    .opcionais-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }
    
    .opcionais-actions-buttons {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }
    
    .opcionais-actions-buttons .btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .opcionais-content {
        padding: 20px;
    }
    
    .opcional-card .detail-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .opcionais-content {
        padding: 15px;
    }
    
    .opcionais-actions-buttons {
        gap: 8px;
    }
    
    .opcional-card {
        padding: 15px;
    }
    
    .opcional-card .card-actions {
        flex-direction: column;
        gap: 5px;
    }
}

/* Catalog Opcionais Tab Styles */
.catalog-opcionais-tab-btn {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #6c757d;
    padding: 12px 20px;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: none;
}

.catalog-opcionais-tab-btn:hover {
    background-color: #e9ecef;
    color: #495057;
}

.catalog-opcionais-tab-btn.active {
    background-color: white;
    color: #007bff;
    border-color: #007bff;
    border-bottom: 1px solid white;
    position: relative;
    z-index: 1;
}

.catalog-opcionais-tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 0 6px 6px 6px;
    background-color: white;
    max-height: 400px;
    overflow-y: auto;
}

.catalog-opcionais-tab-content.active {
    display: block;
}

/* Itens Page Styles */
.itens-page {
    background-color: #f8f9fa;
    min-height: calc(100vh - 120px);
    padding: 0;
}

.itens-header {
    background-color: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.itens-actions-buttons {
    display: flex;
    gap: 15px;
}

.itens-actions-buttons .btn-primary {
    display: flex;
    align-items: center;
    gap: 8px;
}

.itens-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.itens-grid {
    min-height: 200px;
    margin-bottom: 30px;
}

.itens-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.item-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.item-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Catalog Selector Styles */
.catalog-selector {
    position: relative;
    display: flex;
    align-items: center;
}

.catalog-selector input {
    flex: 1;
    padding-right: 50px !important;
    cursor: pointer;
}

.catalog-select-btn {
    position: absolute;
    right: 12px;
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.catalog-select-btn:hover {
    background-color: #0056b3;
}

/* Catalog Modal Styles */
.catalog-modal {
    width: 95%;
    max-width: 800px;
    max-height: 90vh;
}

.catalog-search {
    margin-bottom: 20px;
}

.catalog-tabs {
    display: flex;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.catalog-tab-btn {
    flex: 1;
    padding: 12px 20px;
    background-color: transparent;
    border: none;
    color: #6c757d;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.catalog-tab-btn:hover {
    background-color: #f8f9fa;
    color: #495057;
}

.catalog-tab-btn.active {
    background-color: #f8f9fa;
    color: #007bff;
    border-bottom-color: #007bff;
}

.catalog-content {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.catalog-tab-content {
    display: none;
}

.catalog-tab-content.active {
    display: block;
}

.catalog-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.catalog-item {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.catalog-item:hover {
    border-color: #007bff;
    background-color: #f0f8ff;
}

.catalog-item.selected {
    border-color: #007bff;
    background-color: #e3f2fd;
}

.catalog-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.catalog-item-icon {
    width: 30px;
    height: 30px;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 0.9rem;
}

.catalog-item-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
    flex: 1;
}

.catalog-item-checkbox {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #007bff;
    transition: all 0.2s ease;
}

.catalog-item.selected .catalog-item-checkbox {
    color: #28a745;
}

.catalog-item-category {
    color: #6c757d;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.catalog-item-description {
    color: #495057;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.catalog-item-price {
    color: #28a745;
    font-weight: 600;
    font-size: 0.9rem;
}

.catalog-selection-info {
    text-align: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 15px;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Multiple Selection Checkbox - Simplified */
.catalog-item {
    position: relative;
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background-color: white;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.catalog-item:hover {
    border-color: #007bff;
    background-color: #f0f8ff;
}

.catalog-item.selected {
    border-color: #28a745;
    background-color: #f0fff4;
}

/* Responsive Design for Itens */
@media (max-width: 768px) {
    .itens-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }
    
    .itens-actions-buttons {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }
    
    .itens-actions-buttons .btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .itens-content {
        padding: 20px;
    }
    
    .catalog-modal {
        width: 98%;
        margin: 1%;
    }
    
    .catalog-items {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .catalog-content {
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .itens-content {
        padding: 15px;
    }
    
    .catalog-item {
        padding: 12px;
    }
    
    .itens-actions-buttons {
        gap: 8px;
    }
}