/* Clean Professional Android App Design - WhatsApp Style */

/* Standalone Page - No Sidebar/Topbar */
body.standalone-page {
    margin: 0;
    padding: 0;
    background: #f0f2f5;
    overflow-x: hidden;
}

/* Reset container padding */
.container-fluid.p-0 {
    padding: 0 !important;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    display: none;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

.toast-notification.show {
    display: flex;
}

.toast-notification.success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.toast-notification.error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.toast-notification i {
    font-size: 18px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 20px;
    padding: 0;
    min-height: 100vh;
    background: #f0f2f5;
}

.left-column {
    overflow-y: auto;
    height: 100vh;
}

.right-column {
    background: #fff;
    height: 100vh;
    overflow: hidden;
}

/* Product List Container */
.product-list-container {
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    border-left: 1px solid #e2e8f0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.product-list-header {
    padding: 16px;
    border-bottom: 2px solid #f0f0f0;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 0;
}

.product-list-header h5 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 0.5rem 40px 0.5rem 0.75rem;
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    font-size: 13px;
    background: rgba(255,255,255,0.95);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.search-box input:focus {
    outline: none;
    border-color: #fff;
    background: #fff;
}

.search-box i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #25d366;
}

/* Product Grid */
.product-grid {
    padding: 16px;
    overflow-y: auto;
    overflow-x: visible;
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    align-content: start;
}

.product-card {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    overflow: visible;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 60px; /* Compact height */
    position: relative;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15);
    border-color: #25d366;
    z-index: 100;
}

/* Product Card Tooltip */
.product-card::after {
    content: "Category: " attr(data-category) "\A Purchase: ₹" attr(data-purchase-price) "\A Stock: " attr(data-stock) "\A Stock Value: ₹" attr(data-stock-value);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 12px;
    white-space: pre-line;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
    min-width: 200px;
    text-align: left;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-2px);
    border: 6px solid transparent;
    border-bottom-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999;
}

.product-card:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(12px);
}

.product-card:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(2px);
}

.product-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    height: 100%;
    overflow: visible;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.product-price {
    font-size: 13px;
    font-weight: 600;
    color: #25d366;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.btn-delete-icon {
    background: #ef4444;
    color: #fff;
    border: none;
    border-radius: 5px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-delete-icon:hover {
    background: #dc2626;
    transform: scale(1.05);
}

.btn-delete-icon i {
    font-size: 12px;
}

/* Remove old unused classes */
.product-code,
.product-status,
.product-card-body,
.product-details,
.detail-row,
.detail-label,
.detail-value,
.stock-value,
.product-card-footer,
.btn-edit,
.btn-delete {
    display: none;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #a0aec0;
}

.no-products i {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
}

.no-products p {
    font-size: 14px;
    margin: 0;
}

/* Editing state for product card */
.product-card.editing {
    border-color: #25d366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
    background: #25d366; /* Green background */
    color: #fff; /* White text */
}

.product-card.editing .product-card-header {
    background: #25d366;
}

.product-card.editing .product-name,
.product-card.editing .product-price {
    color: #fff;
}

.product-card.editing .product-code {
    background: #fff;
    color: #25d366;
}

/* Success message styling */
.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 3px solid #10b981;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .two-column-layout {
        grid-template-columns: 1fr 380px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .two-column-layout {
        grid-template-columns: 1fr;
    }
    
    .right-column {
        position: relative;
        top: 0;
        max-height: 600px;
    }
    
    .product-list-container {
        height: 600px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

/* Main Container - Clean White */
.add-item-container {
    background: #f0f2f5;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    padding: 0;
}

/* Form Header - Clean Android Style */
.form-header {
    background: #25d366;
    color: white;
    padding: 1rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.header-left h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.3px;
}

.header-right {
    display: flex; /* Show header-right for language button */
    gap: 0.5rem;
}

.btn-language-toggle {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 60px;
    height: 36px;
}

.btn-language-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-language-toggle:active {
    transform: translateY(0);
}

.btn-language-toggle i {
    font-size: 16px;
}

.btn-back {
    background: transparent;
    color: white;
    border: none;
    padding: 0.3rem 0.5rem;
    border-radius: 50%;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    transition: all 0.2s ease;
}

.btn-back:hover {
    background: rgba(255,255,255,0.15);
    color: white;
    text-decoration: none;
}

.header-right {
    display: flex;
    gap: 0.5rem;
}

.btn-save, .btn-save-continue {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.btn-save {
    background: #25d366;
    color: white;
}

.btn-save:hover {
    background: #1ea952;
    box-shadow: 0 2px 5px rgba(0,0,0,0.25);
}

.btn-save-continue {
    background: #128c7e;
    color: white;
}

.btn-save-continue:hover {
    background: #0d7a6f;
    box-shadow: 0 2px 5px rgba(0,0,0,0.25);
}

/* Form Content - Clean Layout */
.form-content {
    padding: 0.5rem;
    display: grid;
    gap: 0.5rem;
    max-width: 100%;
}

/* Two-column section layout for larger screens */
.form-sections-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    align-items: start;
}

.form-sections-row.single-section {
    grid-template-columns: 1fr 1fr;
}

.form-section-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-sections-row .form-section {
    height: 100%;
}

@media (max-width: 992px) {
    .form-sections-row,
    .form-sections-row.single-section {
        grid-template-columns: 1fr;
    }
}

/* Form Section - Clean White Cards */
.form-section {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.form-section:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}

.section-header {
    background: white;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 15px;
    color: #25d366;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #f0f2f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section-header::before {
    display: none;
}

/* Form Rows - Responsive Grid (2 columns on desktop) */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid #f5f5f5;
}

/* Pricing row - 3 columns for better space utilization */
.form-row.pricing-row {
    grid-template-columns: repeat(3, 1fr);
}

/* Compact fields for currency, percentage, and numeric values */
.form-group.compact {
    max-width: 150px;
}

/* Full width fields */
.form-group.full-width {
    grid-column: 1 / -1;
}

/* Force 2 columns minimum on large screens */
@media (min-width: 1200px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row.pricing-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .form-row.pricing-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-row:last-child {
    border-bottom: none;
}

/* Form Groups - Clean Minimal */
.form-group {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: #667781;
    margin-bottom: 0.35rem;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-group .required {
    color: #dc3545;
    margin-left: 2px;
    font-weight: 600;
    font-size: 14px;
}

/* Input with Add Button */
.input-with-btn {
    display: flex;
    gap: 0.3rem;
    align-items: stretch;
}

.input-with-btn .form-control {
    flex: 1;
    min-width: 0;
}

.btn-add-master {
    background: #25d366;
    color: white;
    border: none;
    border-radius: 4px;
    width: 32px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.btn-add-master:hover {
    background: #1ea952;
    transform: scale(1.05);
}

.btn-add-master:active {
    transform: scale(0.95);
}

.btn-add-master i {
    font-size: 0.75rem;
}

/* Barcode Scanner Button Specific Styling */
#scanBarcodeBtn {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
}

#scanBarcodeBtn:hover {
    background: linear-gradient(135deg, #2e59d9 0%, #1e3a8a 100%);
}

#scanBarcodeBtn i.fa-pulse {
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Form Controls - Clean Android Style */
.form-control {
    padding: 0.45rem 0.65rem;
    font-size: 14px;
    border: 1.5px solid #b0b8bd;
    border-radius: 4px;
    line-height: 1.4;
    height: auto;
    transition: all 0.2s ease;
    background: white;
    min-width: 0;
    color: #3b4a54;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-control:focus {
    border-color: #25d366;
    border-width: 2px;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.15);
    outline: none;
    background: white;
}

select.form-control {
    padding: 0.4rem 0.65rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23667781' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.65rem center;
    background-size: 14px 12px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1.5px solid #b0b8bd;
}

textarea.form-control {
    resize: vertical;
    min-height: 42px;
    max-height: 80px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

input[type="file"].form-control {
    padding: 0.45rem 0.75rem;
    font-size: 13px;
}

/* Alert Messages - Clean Material Design */
.alert {
    margin: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 14px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.alert-danger {
    background: #fff3f3;
    color: #d32f2f;
    border-left: 3px solid #d32f2f;
}

.alert i {
    font-size: 15px;
}

/* Tablet - 3 columns */
@media (min-width: 768px) and (max-width: 1199px) {
    .form-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile - 2 columns */
@media (max-width: 767px) {
    .add-item-container {
        padding: 0.3rem;
    }
    
    .form-header {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem;
        align-items: stretch;
        border-radius: 8px;
    }
    
    .header-left, .header-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .header-left h5 {
        font-size: 0.85rem;
    }
    
    .header-right {
        flex-wrap: wrap;
    }
    
    .btn-save, .btn-save-continue {
        flex: 1;
        justify-content: center;
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .form-content {
        padding: 0;
        gap: 0.4rem;
    }
    
    .form-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
        padding: 0.5rem;
    }
    
    .section-header {
        padding: 0.35rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .form-control {
        font-size: 0.75rem;
        padding: 0.4rem 0.5rem;
    }
    
    .form-group label {
        font-size: 0.7rem;
    }
    
    textarea.form-control {
        min-height: 32px;
    }
}

/* Extra small mobile - keep 2 columns but tighter */
@media (max-width: 576px) {
    .add-item-container {
        font-size: 0.75rem;
        padding: 0;
        background: white;
    }
    
    .header-left h5 {
        font-size: 0.9rem;
    }
    
    .btn-back {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .btn-save, .btn-save-continue {
        font-size: 0.7rem;
        padding: 0.45rem 0.5rem;
    }
    
    .form-content {
        padding: 0.3rem;
    }
    
    .form-row {
        padding: 0.45rem;
        gap: 0.35rem;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header {
        font-size: 0.72rem;
        padding: 0.45rem 0.5rem;
    }
    
    .form-section {
        border-radius: 6px;
        margin-bottom: 0.3rem;
    }
}

/* Print Styles */
@media print {
    .form-header,
    .btn-back,
    .btn-save,
    .btn-save-continue {
        display: none;
    }
    
    .form-section {
        page-break-inside: avoid;
    }
}

/* Scrollbar Styling - Clean Minimal */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f0f2f5;
}

::-webkit-scrollbar-thumb {
    background: #cfd4d9;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #25d366;
}

/* Focus visible for accessibility */
.form-control:focus-visible,
.btn-save:focus-visible,
.btn-save-continue:focus-visible,
.btn-back:focus-visible {
    outline: 2px solid #25d366;
    outline-offset: 2px;
}

/* Select2 Custom Styling */
.select2-container--default .select2-selection--single {
    border: 1.5px solid #b0b8bd;
    border-radius: 4px;
    height: auto;
    padding: 0.4rem 0.65rem;
    font-size: 14px;
    background: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #3b4a54;
    line-height: 1.4;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 8px;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #25d366;
    border-width: 2px;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.15);
}

.select2-dropdown {
    border: 1.5px solid #b0b8bd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #25d366;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1.5px solid #b0b8bd;
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    font-size: 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: #25d366;
    border-width: 2px;
    outline: none;
}

.select2-results__option {
    font-size: 14px;
    padding: 0.5rem 0.85rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Make Select2 fit within input-with-btn */
.input-with-btn .select2-container {
    flex: 1;
    min-width: 0;
}

.input-with-btn .select2-container .select2-selection--single {
    height: 100%;
}

/* Select2 Results */
.select2-results__option {
    padding: 0.5rem 0.85rem !important;
    position: relative;
}

/* Disabled state */
.form-control:disabled {
    background-color: #f7f8fa;
    opacity: 0.6;
    cursor: not-allowed;
    color: #8696a0;
}

/* Validation states - Material Design */
.form-control.is-invalid {
    border-color: #d32f2f;
    background: #fff5f5;
}

.form-control.is-valid {
    border-color: #25d366;
    background: #f0fdf4;
}

/* Placeholder styling */
.form-control::placeholder {
    color: #8696a0;
    font-size: 13px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Loading state - Clean */
.btn-save.loading,
.btn-save-continue.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.btn-save.loading::after,
.btn-save-continue.loading::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.6s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Badge for required fields - Subtle */
.required {
    color: #d32f2f;
    font-weight: 600;
    margin-left: 2px;
}

/* Clean ripple effect on buttons */
.btn-save:active,
.btn-save-continue:active {
    transform: scale(0.98);
}

/* Form Actions - Bottom Save Button */
.form-actions {
    padding: 1rem;
    background: #f0f2f5;
    text-align: center;
    margin-top: 0.5rem;
}

.btn-save-bottom {
    padding: 0.75rem 2.5rem;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #25d366;
    color: white;
}

.btn-save-bottom:hover {
    background: #1ea952;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    transform: translateY(-1px);
}

.btn-save-bottom:active {
    transform: translateY(0);
}

.btn-save-bottom i {
    font-size: 16px;
}

/* Quick Add Modal Styling */
.modal-sm {
    max-width: 400px;
}

#quickAddModal .modal-header {
    background: #25d366;
    color: white;
    padding: 0.75rem 1rem;
}

#quickAddModal .modal-title {
    font-size: 0.95rem;
    font-weight: 500;
}

#quickAddModal .modal-body {
    padding: 1rem;
}

#quickAddModal .form-group {
    margin-bottom: 0.75rem;
}

#quickAddModal .form-group label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #3b4a54;
    margin-bottom: 0.3rem;
}

#quickAddModal .form-control {
    font-size: 0.8rem;
}

#quickAddModal .modal-footer {
    padding: 0.6rem 1rem;
    background: #f8f9fa;
}

#quickAddModal .btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
}
