html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}



h1:focus {
    outline: none;
}
 
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}



.content, .top-row, article {
    padding: 0 !important;
}



.side-nav {
    width: var(--sidebar-width);
    height: 100%;
    background-color: var(--card-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
}

.company-logo {
    padding: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}


/*TOaster*/
/* ==== Toast Notifications ==== */
.modern-toast {
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background-color: #fff;
    min-width: 300px;
}

.toast-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 500;
}

.toast-body {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

/* ==== Toast Icons ==== */
.toast-icon {
    font-size: 1.25rem;
    margin-right: 0.5rem;
}

    .toast-icon.success {
        color: #198754;
    }

    .toast-icon.error {
        color: #dc3545;
    }

/*Nav*/

.SidebarStyle {
    position: sticky;
    top: 0;
    height: 100vh;
    flex-shrink: 0;
}
.company-dashboard {
    height: 100vh;
}



.company-logo {
    padding: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.company-logo i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 12px;
}

.company-logo h4 {
    font-size: 16px;
    font-weight: 600;
}

nav {
    padding: 20px 0;
    flex-grow: 1;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    /*padding: 12px 20px;*/
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.2s;
    margin-bottom: 4px;
}

nav ul li i {
    margin-right: 12px;
    font-size: 18px;
}
h
nav ul li:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

nav ul li.active {
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-weight: 600;
    border-left: 4px solid var(--primary-color);
}

/* Logout Section Styles */
.logout-section {
    margin-top: auto;
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.logout-btn {
    width: 100%;
    background-color: var(--danger-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.logout-btn:hover {
    background-color: #d63031; 
}

.logout-btn i {
    font-size: 18px;
}

/* Admin*/
.btn-primary, .btn-outline, .btn-import {
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    border: none;
}

.btn-outline, .btn-import {
    background-color: white;
    border: 1px solid var(--border-color);
    color: var(--color-text-dark);
}

/*Customers Media*/
@media (max-width: 768px) {
    .stats-section {
        grid-template-columns: 1fr;
    }

    .search-input {
        width: 100%;
    }

    .customer-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 992px) {
    .sidebar {
        width: 70px;
    }

    .filters-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .search-and-filters {
        width: 100%;
    }

    .header-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 1200px) {
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 768px) {
    .stats-cards {
        gap: 10px;
    }

    .stat-card {
        padding: 12px;
    }

    .goal-card,
    .chart-card,
    .table-section {
        padding: 12px;
    }

    .chart-container {
        height: 250px; /* smaller charts */
    }
}

/* details  */

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-stats {
        flex-direction: column;
    }

    .stat-card {
        max-width: 100%;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .calendar-header {
        padding: 1.5rem 1rem;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .calendar-wrapper {
        padding: 0 1rem;
    }

    .stats-section {
        padding: 0 1rem 1rem;
    }

    .stats-card {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-divider {
        width: 3rem;
        height: 1px;
    }

    .rz-scheduler,
    .modern-scheduler {
        height: 60vh !important;
    }
}

@media (max-width: 1200px) {
    .main-content-Provision {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
    }
}

@media (max-width: 768px) {
    .stats-bar {
        grid-template-columns: 1fr;
    }

    .dashboard {
        padding: 16px;
        gap: 16px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .admin-dashboard {
        padding: 16px;
    }

    .tab-navigation {
        padding: 4px;
    }

    .tab-button {
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .tab-content {
        padding: 20px;
    }

    .integrations-header {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-header h1 {
        font-size: 2rem;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 480px) {
    .user-grid {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .page-container {
        background: white;
    }

    .info-card,
    .summary-card {
        box-shadow: none;
        border: 1px solid var(--gray-300);
    }

    .btn {
        display: none;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card {
    animation: fadeIn 0.6s ease-out;
}

    .info-card:nth-child(2) {
        animation-delay: 0.1s;
    }

    .info-card:nth-child(3) {
        animation-delay: 0.2s;
    }

.summary-card {
    animation: fadeIn 0.6s ease-out 0.3s both;
}

/* Focus Styles for Accessibility */
.btn:focus-visible,
.form-input:focus-visible,
.form-select:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .main-content {
        padding: var(--space-4);
    }

    .page-title {
        font-size: var(--font-size-2xl);
    }

    .page-subtitle {
        font-size: var(--font-size-base);
    }

    .card-header {
        padding: var(--space-4);
        flex-direction: column;
        gap: var(--space-3);
        align-items: flex-start;
    }

    .card-content {
        padding: var(--space-4);
    }

    .summary-content {
        padding: var(--space-4);
    }

    .subscriptions-table {
        font-size: var(--font-size-xs);
    }

    .table-header,
    .table-row {
        grid-template-columns: 30px 1fr 60px 60px 80px;
    }

    .empty-state {
        padding: var(--space-8) var(--space-4);
    }

    .empty-icon {
        font-size: 3rem;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: 1fr 350px;
        gap: var(--space-6);
    }
}

@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .summary-column {
        position: static;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
    }

    .checkbox-group {
        flex-direction: column;
        gap: var(--space-3);
    }

    .table-header,
    .table-row {
        grid-template-columns: 40px 1fr 80px 80px 100px;
        font-size: var(--font-size-xs);
    }

    .table-cell {
        padding: var(--space-2);
    }
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 1200px) {
    .main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .filters {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .card-body {
        padding: 1.5rem;
    }

    @media (max-width: 480px) {
        

        .search-input {
            width: 150px;
        }

        .product-info {
            padding: 1rem;
        }

        .modal-body {
            padding: 1rem;
        }
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        gap: 1rem;
    }

    .page-header h2 {
        font-size: 2rem;
    }

    .filters {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .search-box {
        justify-content: center;
    }

    .search-input {
        width: 200px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .modal-content {
        width: 95%;
        margin: 20px;
    }

    .form-actions {
        flex-direction: column;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .orders-container {
        padding: 20px;
    }

    .order-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .order-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 16px;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .employee-info {
        text-align: left;
    }

    .products-grid {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .filters-section {
        padding: 16px;
    }

    .filter-buttons {
        gap: 6px;
    }

    .filter-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cart-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .orders-grid {
        grid-template-columns: 1fr;
    }

    .filters {
        flex-direction: column;
        align-items: stretch;
    }

    .order-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .checkout-container {
        padding: 1rem 0.5rem;
    }

    .progress-header {
        margin-bottom: 2rem;
    }

    .progress-step span {
        font-size: 0.75rem;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .order-section {
        padding: 1rem;
    }

    .summary-header {
        padding: 1rem;
    }

    .summary-item {
        padding: 0.75rem 1rem;
    }

    .summary-totals {
        padding: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .checkout-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .progress-header {
        padding: 0 1rem;
    }

    .progress-line {
        width: 40px;
        margin: 0 0.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

        .form-actions .btn {
            width: 100%;
        }

    .summary-section {
        position: static;
        top: auto;
    }

    .order-section {
        padding: 1.5rem;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/*SwipeProspect*/
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        justify-content: center;
    }

    .container {
        padding: 20px;
    }
}

/*DektopNav/MobileNav*/
/* Mobile specific styles */
/* Mobile Styles */
@media (max-width: 768px) {
    /* Hide desktop sidebar */
    .sidebar.desktop-only {
        display: none !important;
    }

    /* Show mobile elements */
    .mobile-header {
        display: flex !important;
    }

    .mobile-sidebar {
        display: block !important;
    }

    .mobile-sidebar-overlay {
        display: block !important;
    }

    /* Adjust main content for mobile */
    .main-content {
        margin-left: 0 !important;
        margin-top: 60px;
    }

    .content {
        padding: 16px !important;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .mobile-sidebar {
        width: 100%;
    }
}

/* Tablet styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .sidebar.desktop-only {
        width: 60px;
    }

        .sidebar.desktop-only:hover {
            width: 220px;
        }

    .main-content {
        margin-left: 60px;
    }
}

/* Mobile specific styles */
@media (max-width: 768px) {
    .nav-link span {
        opacity: 1 !important;
    }

    .nav-link {
        padding: 16px 20px;
        border-left: none;
    }

        .nav-link.active {
            border-left: 4px solid var(--primary-color);
        }
}

@keyframes slideIn {
    from {
        transform: translateY(-40px) scale(0.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .prospect-details-container {
        padding: 12px;
    }

    .page-header {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .header-actions {
        justify-content: stretch;
    }

    .action-btn {
        flex: 1;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 12px;
    }

    .filters-header {
        flex-direction: column;
        align-items: stretch;
    }

    .filters-controls {
        flex-direction: column;
    }

    .filter-select, .search-input {
        width: 100%;
    }

    .prospects-table {
        font-size: 12px;
    }

        .prospects-table th,
        .prospects-table td {
            padding: 8px 6px;
        }

    .modal-content {
        width: 95%;
        margin: 20px;
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }
}

@media (max-width: 600px) {
    .card-header,
    .card-body,
    .card-footer,
    .card-actions {
        padding-left: 24px;
        padding-right: 24px;
    }

    .company-details h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header h2 {
        font-size: 1.2rem;
    }

    .search-box input {
        width: 150px;
    }

    .pipeline-column {
        min-width: 250px;
        width: 250px;
    }

    .deal-card {
        padding: 1rem;
    }

    .assistant-panel {
        padding: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .crm-container {
        height: 100vh;
    }

    .header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .header-left {
        width: 100%;
        justify-content: space-between;
    }

    .search-box input {
        width: 200px;
    }

    .pipeline-container {
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .pipeline-column {
        min-width: 280px;
        width: 280px;
    }

    .sales-assistant {
        width: 100vw;
        right: -100vw;
    }

        .sales-assistant.open {
            right: 0;
        }

    .modal {
        width: 95%;
        margin: 1rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .modal-header,
    .modal-footer {
        padding: 1rem;
    }
}


@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .sales-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr 0.8fr;
    }

    .modal-content {
        width: 95%;
        margin: 1rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .detail-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .pagination-container {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 992px) {
    .sales-container {
        padding: 1rem;
    }

    .header-section {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .header-actions {
        justify-content: center;
    }

    .filters-section {
        flex-direction: column;
    }

    .sales-grid {
        font-size: 0.8rem;
        grid-template-columns: repeat(5, 1fr);
    }

    .grid-cell {
        padding: 0.75rem 0.5rem;
        min-height: 50px;
    }

        /* Hide some columns on mobile */
        .grid-cell:nth-child(10n+3),
        .grid-cell:nth-child(10n+4),
        .grid-cell:nth-child(10n+7) {
            display: none;
        }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 1200px) {
    .sales-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr 0.8fr 1fr 1fr 1fr;
    }
}


/*ProspectListMenu*/
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .prospect-dashboard {
        padding: 1rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .stats-overview {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .filter-tabs {
        overflow-x: auto;
    }

    .modal-content {
        margin: 1rem;
        width: calc(100% - 2rem);
    }

    .modal-body {
        padding: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-actions {
        flex-direction: column;
    }

    .btn-action {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .card-actions {
        flex-direction: column;
    }

    .project-meta {
        flex-direction: column;
        gap: 0.25rem;
    }

    .progress-details {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/*ProspectSwipe*/

@keyframes prospect-spinner-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 640px) {
    .prospect-modal-management-overlay {
        padding: 10px;
    }

    .prospect-modal-management-container {
        max-height: 95vh;
    }

    .prospect-modal-management-header {
        padding: 20px 24px 16px;
    }

    .prospect-modal-management-body {
        padding: 24px;
    }

    .prospect-modal-management-footer {
        padding: 16px 24px 24px;
        flex-direction: column;
    }

    .prospect-modal-management-button {
        width: 100%;
    }

    .prospect-system-notification-container {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}



@media (prefers-reduced-motion: reduce) {
    .prospect-modal-management-overlay, .prospect-modal-management-container, .prospect-system-notification-container, .prospect-modal-management-button, .prospect-modal-management-input {
        animation: none;
        transition: none;
    }
}

@keyframes prospect-modal-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes prospect-modal-scale-in {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes prospect-notification-slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/*PipeLine*/

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*prospect-lists*/


.content-main {
    grid-template-columns: 1fr;
    height: auto;
}

@media (max-width: 640px) {
    .feedback-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }

    .feedback-container {
        width: 100%;
    }

    .content-main {
        width: 100%;
    }
}

/*NAV-----------------------------------------*/




@media (max-width: 768px) {
    .mobile-header {
        display: flex !important;
    }

    .mobile-sidebar {
        display: block !important;
    }

    .mobile-sidebar-overlay {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }

    .main-content {
        margin-left: 0 !important;
        margin-top: 60px !important;
    }

        .main-content.no-user {
            margin-top: 0 !important;
        }
}

@media (min-width: 769px) {
    .mobile-header {
        display: none !important;
    }

    .mobile-sidebar {
        display: none !important;
    }

    .mobile-sidebar-overlay {
        display: none !important;
    }
}

@media (min-width: 769px) {
        .mobile-header

    {
        display: none !important;
    }

    .mobile-sidebar {
        display: none !important;
    }

    .mobile-sidebar-overlay {
        display: none !important;
    }

    }
/* Mobile Styles */
@media (max-width: 768px) {
    .nav-link span {
        opacity: 1;
    }
}

/* Desktop: Add margin when sidebar is present */
@media (min-width: 769px) {
    .main-content {
        margin-left: 80px;
    }
}

/* Mobile: Add top margin when mobile header is present */
@media (max-width: 768px) {
    .main-content {
        margin-top: 60px;
    }

        .main-content.no-user {
            margin-top: 0 !important;
        }
}

/* Media Queries */
@media (max-width: 768px) {
    .mobile-header {
        display: flex !important;
    }

    .mobile-sidebar {
        display: block !important;
    }

    .mobile-sidebar-overlay {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-sidebar .nav-link span {
        opacity: 1;
    }
}



/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-header {
        display: flex;
    }

    .mobile-sidebar,
    .mobile-sidebar-overlay {
        display: block;
    }

    .sidebar.desktop-only {
        display: none;
    }

    .nav-category {
        margin-bottom: 20px;
    }

    .nav-link {
        padding: 14px 16px;
        font-size: 15px;
    }

        .nav-link i {
            font-size: 20px;
        }
}

@media (max-width: 768px) {
    .page {
        margin: 0 !important;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-header {
        display: flex;
    }

    .mobile-sidebar,
    .mobile-sidebar-overlay {
        display: block;
    }

    .secondary-sidebar {
        display: none;
    }
}
/*--------------------------------------------*/

/*Statistics Analys*/

@media (max-width: 1024px) {

    .stats-grid,
    .rankings-grid {
        grid-template-columns: 1fr;
    }

    .date-filters {
        flex-direction: column;
        gap: 20px;
    }

    .date-group {
        flex-direction: column;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .date-group {
        gap: 15px;
    }

    .date-field {
        width: 100%;
    }

        .date-field input {
            width: 100%;
        }
}

/*OrderManagement*/

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .filters {
        flex-direction: column;
        align-items: stretch;
    }

    .search-input {
        width: 100%;
    }

    table {
        font-size: 12px;
    }

    th, td {
        padding: 12px 8px;
    }
}