/* Mariba Holdings Cost Calculator Styles */
/* Color Scheme: White, Black, #2AA63E (buttons/links only) */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #000;
    font-size: 28px;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #2AA63E;
}

.nav-auth, .nav-user {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #2AA63E;
    color: white;
}

.btn-primary:hover {
    background-color: #248A35;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #2AA63E;
    border: 2px solid #2AA63E;
}

.btn-outline:hover {
    background-color: #2AA63E;
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Sections */
.section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: #333;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.category-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.category-card:hover {
    border-color: #2AA63E;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(42, 166, 62, 0.2);
}

.category-card i {
    font-size: 48px;
    color: #000;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.category-card p {
    color: #666;
    font-size: 16px;
}

/* Type Grid */
.type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.type-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.type-card:hover {
    border-color: #2AA63E;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(42, 166, 62, 0.2);
}

.type-card i {
    font-size: 48px;
    color: #000;
    margin-bottom: 20px;
}

.type-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.type-card p {
    color: #666;
    font-size: 16px;
}

/* Service Tabs */
.service-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.service-tab {
    padding: 15px 25px;
    background: #f8f9fa;
    border: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.service-tab.active {
    background: #000;
    color: white;
}

.service-tab:hover:not(.active) {
    background: #e9ecef;
}

/* Service Content */
.service-content {
    min-height: 400px;
}

.service-form {
    display: none;
}

.service-form.active {
    display: block;
}

.service-list {
    display: grid;
    gap: 20px;
}

.service-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.service-info {
    flex: 1;
}

.service-name {
    font-weight: 600;
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.service-description {
    color: #666;
    font-size: 14px;
}

.service-price {
    color: #000;
    font-weight: 600;
    font-size: 16px;
}

.service-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-input {
    width: 80px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

.add-service-btn {
    background: #2AA63E;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.add-service-btn:hover {
    background: #248A35;
}

.add-service-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Quotation Summary */
.quotation-summary {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;
}

.summary-table {
    overflow-x: auto;
    margin-bottom: 30px;
}

.summary-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.summary-table th,
.summary-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.summary-table th {
    background: #000;
    color: white;
    font-weight: 600;
}

.summary-table tr:hover {
    background: #f8f9fa;
}

.summary-totals {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 16px;
}

.total-final {
    font-weight: 700;
    font-size: 20px;
    color: #000;
    border-top: 2px solid #000;
    padding-top: 15px;
    margin-top: 10px;
}

.quotation-actions {
    text-align: center;
    margin-top: 30px;
}

/* Property Type and Client Type Selection */
.property-type-grid, .client-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.property-type-card, .client-type-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.property-type-card:hover, .client-type-card:hover {
    border-color: #000;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.property-type-card.selected, .client-type-card.selected {
    border-color: #000;
    background: #f8f9fa;
    transform: translateY(-2px);
}

.property-type-card i, .client-type-card i {
    font-size: 48px;
    color: #000;
    margin-bottom: 20px;
    display: block;
}

.property-type-card h3, .client-type-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #000;
}

.property-type-card p, .client-type-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.price-note {
    color: #28a745;
    font-size: 12px;
    font-weight: 500;
    display: block;
    margin-top: 5px;
}

/* Dashboard */
.dashboard {
    display: none;
    padding: 40px 0;
}

.dashboard-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

/* Registration Page */
.register-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.register-form-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.register-form-container h1 {
    color: #000;
    margin-bottom: 10px;
    font-size: 2rem;
    font-weight: 600;
}

.register-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 1rem;
}

.register-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.register-footer a {
    color: #2AA63E;
    text-decoration: none;
    font-weight: 500;
}

.register-footer a:hover {
    text-decoration: underline;
}

.dashboard-tab {
    padding: 15px 25px;
    background: #f8f9fa;
    border: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.dashboard-tab.active {
    background: #000;
    color: white;
}

.dashboard-tab:hover:not(.active) {
    background: #e9ecef;
}

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

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

.dashboard-content {
    margin-top: 40px;
}

/* Job Description Form */
.job-description-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.job-description-form p {
    margin-bottom: 20px;
    color: #666;
    font-size: 16px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.quotation-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.quotation-number {
    font-weight: 600;
    color: #000;
    font-size: 18px;
}

.quotation-date {
    color: #666;
    font-size: 14px;
}

.quotation-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.quotation-actions {
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

.modal.modal-show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #333;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
}

.text-center {
    text-align: center;
}

/* Loading */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: none; /* Hidden by default */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

/* Messages */
.message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    z-index: 2500;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideInRight 0.3s;
}

.message.success {
    background-color: #28a745;
}

.message.error {
    background-color: #dc3545;
}

.message button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        margin: 10px 0;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .category-grid,
    .type-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 10% auto;
        padding: 30px 20px;
    }

    .quotation-details {
        grid-template-columns: 1fr;
    }

    .quotation-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .section {
        padding: 60px 0;
    }

    .section h2 {
        font-size: 28px;
    }
}

/* Inactivity Modal */
#inactivity-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

#inactivity-modal .modal-content {
    background: white;
    border-radius: 10px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

#inactivity-modal .modal-header {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px 10px 0 0;
    border-bottom: 1px solid #dee2e6;
}

#inactivity-modal .modal-header h3 {
    color: #333;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

#inactivity-modal .modal-body {
    padding: 30px 20px;
    text-align: center;
}

#inactivity-modal .modal-body p {
    margin-bottom: 15px;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.5;
}

#inactivity-modal #countdown {
    font-weight: bold;
    color: #dc3545;
    font-size: 1.2rem;
}

#inactivity-modal .modal-footer {
    padding: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
    border-top: 1px solid #dee2e6;
}

#inactivity-modal .btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

#inactivity-modal .btn-primary {
    background-color: #2AA63E;
    color: white;
}

#inactivity-modal .btn-primary:hover {
    background-color: #228a35;
    transform: translateY(-2px);
}

#inactivity-modal .btn-outline {
    background-color: transparent;
    color: #666;
    border: 2px solid #dee2e6;
}

#inactivity-modal .btn-outline:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    #inactivity-modal .modal-content {
        width: 95%;
        margin: 20px;
    }

    #inactivity-modal .modal-footer {
        flex-direction: column;
    }

    #inactivity-modal .btn {
        width: 100%;
    }
}

/* Services Container */
.services-container {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.services-tabs {
    flex: 0 0 250px;
}

.tab-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-tab {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 1rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: #333;
}

.service-tab:hover {
    background: #e9ecef;
    border-color: #2AA63E;
}

.service-tab.active {
    background: #2AA63E;
    color: #fff;
    border-color: #2AA63E;
}

.services-content {
    flex: 1;
}

.tab-pane {
    display: none;
}

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

/* Services Table */
.services-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.services-table th {
    background: #000;
    color: #fff;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.services-table td {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
}

.services-table tr:hover {
    background: #f8f9fa;
}

.quantity-input {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

.quantity-input:focus {
    outline: none;
    border-color: #2AA63E;
    box-shadow: 0 0 0 2px rgba(42, 166, 62, 0.2);
}

.total-price {
    font-weight: 600;
    color: #000;
}

.add-service-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Real-time Quotation Preview */
.quotation-preview-live {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.quotation-preview-live h3 {
    margin: 0 0 1rem 0;
    color: #000;
    font-size: 1.2rem;
    border-bottom: 2px solid #2AA63E;
    padding-bottom: 0.5rem;
}

.selected-services {
    margin-bottom: 1.5rem;
}

.no-services-message {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 2rem;
    background: #fff;
    border: 1px dashed #ddd;
    border-radius: 6px;
}

.selected-service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.selected-service-item:hover {
    border-color: #2AA63E;
    box-shadow: 0 2px 4px rgba(42, 166, 62, 0.1);
}

.service-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.service-item-name {
    font-weight: 600;
    color: #000;
    font-size: 0.95rem;
}

.service-item-quantity {
    color: #666;
    font-size: 0.85rem;
}

.service-item-price {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-item-total {
    font-weight: 600;
    color: #000;
    font-size: 1rem;
}

.remove-service-btn {
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.remove-service-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.quotation-totals {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e0e0e0;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.total-row:not(.total-final) {
    color: #666;
}

.total-final {
    font-weight: 600;
    font-size: 1.1rem;
    color: #000;
    border-top: 1px solid #e0e0e0;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
}



/* Services Tabs - Horizontal Cards Layout (for quotation.php) */
.services-tabs-horizontal {
    margin-bottom: 2rem;
}

.tab-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-tab-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.service-tab-card:hover {
    border-color: #2AA63E;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.service-tab-card.active {
    border-color: #2AA63E;
    background: #f8fff9;
    box-shadow: 0 4px 12px rgba(42, 166, 62, 0.2);
}

.service-tab-card h4 {
    margin: 0;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
}

.service-tab-card.active h4 {
    color: #2AA63E;
}

/* Mobile responsive for horizontal tab cards */
@media (max-width: 768px) {
    .tab-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.75rem;
    }
    
    .service-tab-card {
        padding: 0.75rem;
    }
    
    .service-tab-card h4 {
        font-size: 0.9rem;
    }
}

/* Overview Cards */
.overview-cards {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 3rem;
    width: 100%;
}

.overview-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: inline-block;
    gap: 1rem;
    transition: box-shadow 0.3s ease;
    flex: 1;
    min-width: 250px;
    max-width: 100%;
    margin: 0;
    margin-top:3rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.overview-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #2AA63E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.card-content h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
}

.card-content p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.loading-message {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
    font-size: 1.1rem;
}
/* Dashboard Styles */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

/* Quotation Cards - Same styling as overview cards */
.quotation-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
    margin: 0 0.5rem 1.5rem 0.5rem;
}

.quotation-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.quotation-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.quotation-info h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.2rem;
}

.quotation-description {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.quotation-status {
    flex-shrink: 0;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

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

.status-sent {
    background: #dbeafe;
    color: #1e40af;
}

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

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.quotation-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 6px;
}

.quotation-detail {
    font-size: 0.9rem;
}

.quotation-detail strong {
    color: #333;
}

.quotation-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.no-quotations,
.quotations-error {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

.no-quotations p,
.quotations-error p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.quotations-error {
    background: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 8px;
}

.quotations-error p {
    color: #991b1b;
}

/* Mobile responsive for overview cards */
@media (max-width: 768px) {
    .overview-cards {
        flex-direction: column;
        gap: 1rem;
    }
    
    .overview-card {
        padding: 1rem;
        margin: 0;
        min-width: auto;
        max-width: none;
        flex: none;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .card-content h3 {
        font-size: 1.5rem;
    }
    
    .quotation-card {
        margin: 0 0 1rem 0;
    }
    
    .quotation-details {
        grid-template-columns: 1fr;
    }
    
    .quotation-actions {
        flex-direction: column;
    }
}

/* Tablet responsive for overview cards */
@media (max-width: 1024px) and (min-width: 769px) {
    .overview-card {
        min-width: 200px;
        max-width: 300px;
        padding: 1.25rem;
    }
    
    .overview-cards {
        gap: 1rem;
    }
}
