/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Sticky Invoice Button */
.invoice-button-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

#invoiceButton {
    padding: 12px 20px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

#invoiceButton:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Modal Styles */
.modal-content {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Form Styles */
.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Language Selector */
.language-selector {
    text-align: right;
}

/* Admin Panel Styles */
.admin-sidebar {
    min-height: 100vh;
    background-color: #343a40;
    color: white;
    padding-top: 20px;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.75);
    padding: 10px 20px;
    margin: 5px 0;
    border-radius: 5px;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.admin-content {
    padding: 20px;
}

.file-upload-container {
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.file-upload-container:hover {
    border-color: #80bdff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .invoice-button-container {
        bottom: 20px;
        right: 20px;
    }
    
    #invoiceButton {
        padding: 10px 15px;
    }
}

/* RTL Support for Urdu */
.rtl {
    direction: rtl;
    text-align: right;
}

/* Animation for loading spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner-border {
    animation: spin 1s linear infinite;
}