﻿:root {
    --primary-color: #50AD36;
    --secondary-color: #42DF16;
    --accent-color: #50AD36;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    background-color: white; /*#f0f4f8;*/
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.dashboard-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.stat-card {
    border-radius: 16px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    overflow: hidden;
}

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
    }

.card-header {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    font-weight: 600;
    border-bottom: none;
    padding: 1rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--dark-color);
}

.stat-value1 {
    font-size: 2.0rem;
    font-weight: 300;
    color: var(--dark-color);
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-icon {
    font-size: 2rem;
    opacity: 0.8;
}

.total-card {
    background: linear-gradient(135deg, #50AD36, #42DF16);
    color: white;
}

    .total-card .stat-value,
    .total-card .stat-label {
        color: white;
    }

.chart-container {
    height: 300px;
    margin-top: 20px;
}

.info-icon {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 15px;
}

.info-label {
    /*color: var(--secondary-color);*/
    color :#0e8320;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.info-value {
    font-weight: 500;
    font-size: 1.05rem;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

    .accordion-item:hover {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }

.accordion-header {
    border-radius: 12px;
}

.accordion-button {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: #2d3748;
    background-color: #ffffff;
    border-radius: 12px !important;
}

    .accordion-button:not(.collapsed) {
        color: #4361ee;
        background-color: #f0f4ff;
        box-shadow: none;
    }

    .accordion-button:focus {
        box-shadow: none;
        border-color: rgba(67, 97, 238, 0.3);
    }

    .accordion-button::after {
        background-size: 1.25rem;
        transition: all 0.3s ease;
        background-color: #edf2ff;
        border-radius: 50%;
        padding: 0.75rem;
        background-position: center;
    }

    .accordion-button:not(.collapsed)::after {
        background-color: #4361ee;
        transform: rotate(180deg);
    }

.accordion-body {
    padding: 1.5rem;
    background-color: #ffffff;
    color: #4a5568;
    line-height: 1.6;
}

.primary-tabs {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1.5rem 1.5rem 0;
    border-radius: 16px 16px 0 0;
}

    .primary-tabs .nav-link {
        color: rgba(255, 255, 255, 0.7);
        font-weight: 600;
        padding: 1rem 1.5rem;
        border-radius: 10px 10px 0 0;
        transition: all 0.3s ease;
        position: relative;
        border: none;
    }

        .primary-tabs .nav-link.active {
            color: var(--dark-text);
            background-color: #fff;
        }

        .primary-tabs .nav-link:hover:not(.active) {
            color: rgba(255, 255, 255, 1);
        }



.dashboard-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .dashboard-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }

.grand-total-card {
    /*background: linear-gradient(135deg, #ff6b6b, #ee5a24);*/
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    text-align: center;
    padding: 2rem;
}

.grand-total-amount {
    font-size: 4rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}


.grand-total-amount1 {
    font-size: 4rem;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.table-card {
    background: white;
}

.table thead {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
    transform: scale(1.01);
    transition: all 0.2s ease;
}

.category-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.revenue-badge {
    background: #d4edda;
    color: #155724;
}

.expense-badge {
    background: #f8d7da;
    color: #721c24;
}

.investment-badge {
    background: #d1ecf1;
    color: #0c5460;
}

.summary-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.revenue-summary {
    background: linear-gradient(135deg, #56ab2f, #a8e6cf);
    color: white;
}

.expense-summary {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
}

.investment-summary {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
}



.modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: none;
    padding: 2rem 2.5rem;
    position: relative;
}

    .modal-header::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    }

.modal-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    margin: 0;
}

.btn-close {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

    .btn-close:hover {
        background: rgba(255, 255, 255, 0.2);
        opacity: 1;
        transform: scale(1.05);
    }

.modal-body {
    padding: 3rem 2.5rem;
    background: #ffffff;
}

.info-section {
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
}

    .info-section:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    }

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.section-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.25rem;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.025em;
}

.info-item {
    margin-bottom: 1.5rem;
}

    .info-item:last-child {
        margin-bottom: 0;
    }

.info-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-value {
    font-size: 1rem;
    font-weight: 400;
    color: #1e293b;
    line-height: 1.5;
    word-break: break-word;
}

.modal-footer {
    background: #f8fafc;
    border: none;
    padding: 1.5rem 2.5rem;
    border-top: 1px solid #e2e8f0;
}

.btn-secondary {
    background: #64748b;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: white;
}

    .btn-secondary:hover {
        background: #475569;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.row {
    margin: 0;
}

.col-md-6, .col-lg-4 {
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .modal-body {
        padding: 2rem 1.5rem;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .info-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* Smooth scrolling for modal body */
.modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

    .modal-body::-webkit-scrollbar {
        width: 6px;
    }

    .modal-body::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 3px;
    }

    .modal-body::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 3px;
    }

        .modal-body::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }

@media (max-width: 768px) {
    .col-md-4 {
        margin-bottom: 20px;
    }
}


<!-- -->/*
:root {
    --primary-green: #198754;
    --primary-green-dark: #146c43;
    --light-green: #d1e7dd;
    --gold: #ffc107;
    --gold-dark: #ffb300;
}

body {
    background: linear-gradient(135deg, #e8f5e8 0%, #f8f9fa 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: none;
    overflow: hidden;
    max-width: 500px;
    width: 100%;
}

.header-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

    .header-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        opacity: 0.3;
    }

    .header-section * {
        position: relative;
        z-index: 1;
    }

.logo-icon {
    width: 60px;
    height: 60px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--primary-green);
}

.login-options {
    padding: 2rem;
}

.login-method {
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

    .login-method:hover {
        border-color: var(--primary-green);
        box-shadow: 0 5px 15px rgba(25, 135, 84, 0.1);
        transform: translateY(-2px);
    }

    .login-method.active {
        border-color: var(--primary-green);
        background: var(--light-green);
    }

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.login-form {
    display: none;
    animation: fadeIn 0.3s ease;
}

    .login-form.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-floating {
    margin-bottom: 1.5rem;
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: var(--primary-green);
        box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
    }

.btn-login {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    border: none;
    border-radius: 10px;
    padding: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(25, 135, 84, 0.3);
    }

.quick-actions {
    background: #f8f9fa;
    padding: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.quick-action-btn {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
}

    .quick-action-btn:hover {
        background: var(--light-green);
        color: var(--primary-green-dark);
        text-decoration: none;
    }

.version-info {
    text-align: center;
    color: #6c757d;
    font-size: 0.8rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .login-container {
        padding: 10px;
    }

    .header-section {
        padding: 1.5rem;
    }

    .login-options {
        padding: 1.5rem;
    }

    .login-method {
        padding: 1rem;
    }

    .method-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

.alert-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid #f5c6cb;
}
*/
