/* Enhanced Dashboard & Transaction Styles */
:root {
    --primary-color: #2D8B95;
    --secondary-color: #34A0AB;
    --accent-color: #FFC107;
    --background-color: #F5F7FA;
    --card-bg: #FFFFFF;
    --text-color: #333333;
    --text-muted: #6c757d;
    --danger-color: #DC3545;
    --success-color: #28A745;
    --warning-color: #FFC107;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

.dashboard-container {
    padding: 1.5rem;
}

/* Enhanced Cards */
.stats-card {
    transition: var(--transition);
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.stats-card .card-body {
    padding: 1.5rem;
}

.stats-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stats-card .card-title {
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 600;
}

.stats-card h2 {
    font-size: 2rem;
    font-weight: 700;
}

/* Enhanced Tables */
.table-container {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.dashboard-table {
    margin-bottom: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.dashboard-table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid var(--primary-color);
    padding: 1rem;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.dashboard-table tbody tr {
    transition: var(--transition);
    border-bottom: 1px solid #f0f0f0;
}

.dashboard-table tbody tr:hover {
    background-color: rgba(45, 139, 149, 0.05);
}

.dashboard-table td {
    padding: 1rem;
    vertical-align: middle;
}

.dashboard-table .badge {
    padding: 0.5rem 0.8rem;
    font-weight: 500;
    border-radius: 50px;
}

/* Low Stock Items */
.list-group-item {
    border: none;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: var(--transition);
    padding: 1rem;
}

.list-group-item:hover {
    background-color: rgba(45, 139, 149, 0.05);
    transform: translateX(3px);
}

/* Chart Section */
.chart-container {
    padding: 1rem;
    height: 300px;
}

/* Enhanced Transaction Form */
.transaction-form-card {
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    border: none;
    overflow: hidden;
}

.transaction-form-card .card-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    border-bottom: none;
}

.transaction-form-card .card-body {
    padding: 2rem;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-control, .custom-select {
    border-radius: 8px;
    padding: 0.8rem 1rem;
    border: 1px solid #e0e0e0;
    transition: var(--transition);
}

.form-control:focus, .custom-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(45, 139, 149, 0.25);
}

/* Enhanced Buttons */
.btn {
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Export Button */
.export-btn {
    position: fixed;
    bottom: 140px;
    right: 20px;
    background-color: var(--accent-color);
    color: #333;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: none;
    z-index: 100;
}

.export-btn:hover {
    transform: scale(1.1);
}

/* Floating Action Buttons */
.floating-btn {
    position: fixed;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: none;
    z-index: 100;
    color: white;
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1);
    color: white;
}

/* Transaction Button */
.transactions-btn {
    bottom: 160px;
    right: 20px;
    background-color: var(--primary-color);
}

/* AI Chat Button */
.ai-chat-btn {
    bottom: 125px;
    right: 20px;
    background-color: #6f42c1; /* Purple color for AI */
}

/* Add Button */
.add-btn {
    bottom: 90px;
    right: 20px;
    background-color: var(--success-color);
}

/* Not Sold Button */
.not-sold-btn {
    bottom: 230px;
    right: 20px;
    background-color: var(--warning-color);
    color: #333;
}

/* Modal Styles */
.custom-modal .modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.custom-modal .modal-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    border-bottom: none;
}

.custom-modal .modal-body {
    padding: 2rem;
}

.custom-modal .modal-footer {
    padding: 1.5rem;
    border-top: none;
}

/* Settings Page */
.settings-section {
    background: white;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.settings-header {
    padding: 1.5rem;
    background-color: var(--primary-color);
    color: white;
}

.settings-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.settings-item {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.settings-item:last-child {
    border-bottom: none;
}

.settings-item:hover {
    background-color: rgba(45, 139, 149, 0.05);
} 