/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

/* Color Variables */
:root {
    --primary-color: #10b981;
    --primary-dark: #059669;
    --secondary-color: #6b7280;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    --light-gray: #f3f4f6;
    --medium-gray: #e5e7eb;
    --dark-gray: #374151;
    --white: #ffffff;
    --black: #1f2937;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Login Page Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.login-card, .signup-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
    animation: fadeInUp 0.6s ease-out;
}

.signup-card {
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.signup-option, .login-option {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--medium-gray);
}

.signup-option p, .login-option p {
    color: var(--secondary-color);
    font-size: 14px;
}

.signup-option a, .login-option a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.signup-option a:hover, .login-option a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.signup-form select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--medium-gray);
    border-radius: 10px;
    font-size: 16px;
    background-color: var(--white);
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
}

.terms-checkbox {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--dark-gray);
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--medium-gray);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.signup-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.back-to-home {
    margin-bottom: 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--primary-dark);
    transform: translateX(-5px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-section {
    text-align: center;
    margin-bottom: 40px;
}

.logo-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.logo-section h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.logo-section p {
    color: var(--secondary-color);
    font-size: 16px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--dark-gray);
    font-size: 14px;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--medium-gray);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: var(--white);
}

/* Hide browser validation icons and pseudo-elements */
.input-group input::-webkit-validation-bubble,
.input-group input::-webkit-validation-bubble-message,
.input-group input::-webkit-validation-bubble-arrow,
.input-group input::-webkit-validation-bubble-top-outer-arrow,
.input-group input::-webkit-validation-bubble-top-inner-arrow {
    display: none !important;
}

.input-group input:invalid {
    box-shadow: none !important;
}

/* Remove any browser generated icons */
.input-group input::-webkit-credentials-auto-fill-button,
.input-group input::-webkit-strong-password-auto-fill-button {
    display: none !important;
}

/* Password inputs need extra right padding for the eye toggle icon */
.input-group input[type="password"] {
    padding-right: 48px;
}

/* Additional CSS to remove browser icons and autofill buttons */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=text]::-ms-clear,
input[type=password]::-ms-reveal {
    display: none;
}

/* Remove Edge password reveal button */
input[type=password]::-ms-reveal {
    display: none;
}

/* Remove Chrome autofill and password suggestion icons */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-background-clip: text;
    background-clip: text;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--secondary-color);
    transition: color 0.3s ease;
    z-index: 2;
}

.toggle-password:hover {
    color: var(--primary-color);
}

.error-message {
    color: var(--danger-color);
    font-size: 14px;
    margin-top: 4px;
    display: none;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.loading-spinner {
    display: none;
}

.forgot-password {
    text-align: center;
    margin-top: 16px;
}

.forgot-password a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* Signup and Login Form Switching */
.signup-option,
.login-option {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--medium-gray);
}

.signup-option p,
.login-option p {
    color: var(--secondary-color);
    font-size: 14px;
}

.signup-option a,
.login-option a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.signup-option a:hover,
.login-option a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Signup Form Styles */
.signup-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 500px;
    animation: fadeInUp 0.6s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.signup-form .input-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--medium-gray);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: var(--white);
    color: var(--dark-gray);
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
}

.signup-form .input-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Terms Checkbox */
.terms-checkbox {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--dark-gray);
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--medium-gray);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-container a:hover {
    text-decoration: underline;
}

.signup-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

/* Form transition animations */
.login-card,
.signup-card {
    transition: all 0.5s ease;
}

.form-slide-out {
    opacity: 0;
    transform: translateX(-50px);
}

.form-slide-in {
    opacity: 1;
    transform: translateX(0);
}

/* Success message styles */
.success-message {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success-color);
    color: var(--success-color);
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeInUp 0.5s ease;
}

.success-message i {
    font-size: 20px;
}

/* Password strength indicator */
.password-strength {
    margin-top: 8px;
}

.strength-meter {
    height: 4px;
    background: var(--medium-gray);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-weak {
    background: var(--danger-color);
    width: 25%;
}

.strength-medium {
    background: var(--warning-color);
    width: 50%;
}

.strength-strong {
    background: var(--success-color);
    width: 75%;
}

.strength-very-strong {
    background: var(--primary-color);
    width: 100%;
}

.strength-text {
    font-size: 12px;
    color: var(--secondary-color);
}

/* Dashboard Layout */
.dashboard-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid var(--medium-gray);
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-header i {
    font-size: 24px;
    color: var(--primary-color);
}

.sidebar-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
}

.nav-menu {
    list-style: none;
    padding: 20px 0;
}

.nav-item {
    margin-bottom: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

.nav-item.active .nav-link {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.nav-link i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.nav-item.logout {
    margin-top: auto;
    border-top: 1px solid var(--medium-gray);
    padding-top: 20px;
    margin-top: 20px;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 260px;
    background-color: var(--light-gray);
    min-height: 100vh;
}

.top-bar {
    background: var(--white);
    padding: 16px 24px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 50;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--secondary-color);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.sidebar-toggle:hover {
    background-color: var(--light-gray);
}

.top-bar h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--black);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-weight: 500;
}

.user-info i {
    font-size: 24px;
    color: var(--primary-color);
}

/* Dashboard Content */
.dashboard-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
}

.stat-icon.products {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-icon.sold {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-icon.low-stock {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: var(--warning-color);
}

.stat-icon.revenue {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: var(--success-color);
}

.stat-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 4px;
}

.stat-info p {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Quick Actions */
.quick-actions h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 16px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.action-card {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.action-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.action-card i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.action-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.action-card p {
    color: var(--secondary-color);
    font-size: 14px;
}

/* Recent Activity */
.recent-activity h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 16px;
}

.activity-list {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--medium-gray);
}

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

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--white);
}

.activity-icon.added {
    background-color: var(--success-color);
}

.activity-icon.sold {
    background-color: var(--info-color);
}

.activity-icon.warning {
    background-color: var(--warning-color);
}

.activity-content {
    flex: 1;
}

.activity-content p {
    color: var(--black);
    font-weight: 500;
    margin-bottom: 4px;
}

.activity-time {
    color: var(--secondary-color);
    font-size: 14px;
}

/* Form Styles */
.form-container {
    padding: 24px;
}

.form-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.form-card h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 24px;
}

.product-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--dark-gray);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.price-input {
    position: relative;
    display: flex;
    align-items: center;
}

.currency {
    position: absolute;
    left: 16px;
    color: var(--secondary-color);
    font-weight: 500;
    z-index: 1;
}

.price-input input {
    padding-left: 32px;
}

/* File Upload */
.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-display {
    border: 2px dashed var(--medium-gray);
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-display:hover {
    border-color: var(--primary-color);
    background-color: rgba(16, 185, 129, 0.05);
}

.file-upload-display i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.file-upload-display p {
    font-weight: 500;
    color: var(--black);
    margin-bottom: 4px;
}

.file-upload-display span {
    color: var(--secondary-color);
    font-size: 14px;
}

.image-preview {
    position: relative;
    display: inline-block;
}

.image-preview img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    object-fit: cover;
}

.remove-image {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Buttons */
.form-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    margin-top: 24px;
}

.btn-primary,
.btn-secondary,
.btn-danger {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--light-gray);
    color: var(--dark-gray);
    border: 2px solid var(--medium-gray);
}

.btn-secondary:hover {
    background-color: var(--medium-gray);
}

.btn-danger {
    background-color: var(--danger-color);
    color: var(--white);
}

.btn-danger:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

/* Inventory Styles */
.inventory-content {
    padding: 24px;
}

.inventory-controls {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-section {
    flex: 1;
}

.search-bar {
    position: relative;
    max-width: 500px;
}

.search-bar i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    z-index: 1;
}

.search-bar input {
    width: 100%;
    padding: 12px 16px 12px 48px;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.clear-search {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

.clear-search:hover {
    background-color: var(--light-gray);
}

.filter-section {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-section select {
    padding: 10px 12px;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 14px;
    background-color: var(--white);
    min-width: 150px;
}

.results-summary {
    margin-bottom: 16px;
}

.results-summary p {
    color: var(--secondary-color);
    font-size: 14px;
}

/* Table Styles */
.table-container {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.inventory-table {
    width: 100%;
    border-collapse: collapse;
}

.inventory-table th {
    background-color: var(--light-gray);
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 14px;
    border-bottom: 2px solid var(--medium-gray);
}

.inventory-table td {
    padding: 16px 12px;
    border-bottom: 1px solid var(--medium-gray);
    font-size: 14px;
}

.inventory-table tbody tr {
    transition: background-color 0.3s ease;
}

.inventory-table tbody tr:hover {
    background-color: var(--light-gray);
}

.inventory-table tbody tr:nth-child(even) {
    background-color: rgba(243, 244, 246, 0.5);
}

.product-image-cell {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 20px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.in-stock {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.status-badge.low-stock {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.status-badge.out-of-stock {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.action-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn.edit {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--info-color);
}

.action-btn.edit:hover {
    background-color: var(--info-color);
    color: var(--white);
}

.action-btn.delete {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.action-btn.delete:hover {
    background-color: var(--danger-color);
    color: var(--white);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.no-results i {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.no-results h3 {
    font-size: 20px;
    color: var(--black);
    margin-bottom: 8px;
}

.no-results p {
    color: var(--secondary-color);
    margin-bottom: 24px;
}

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

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

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

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

.modal-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--secondary-color);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: var(--light-gray);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 0 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Reports Styles */
.reports-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.reports-controls {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.date-filters {
    display: flex;
    gap: 16px;
    align-items: end;
    flex-wrap: wrap;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.stat-change {
    font-size: 12px;
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

.stat-change.positive {
    color: var(--success-color);
}

.stat-change.negative {
    color: var(--danger-color);
}

.charts-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.chart-card {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

.chart-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
}

.chart-controls {
    display: flex;
    gap: 8px;
}

.chart-toggle {
    padding: 6px 12px;
    border: 2px solid var(--medium-gray);
    background: var(--white);
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chart-toggle.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.chart-container {
    height: 300px;
    position: relative;
}

.top-products,
.low-stock-alerts {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.top-products h3,
.low-stock-alerts h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 20px;
}

.products-list,
.alerts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.product-item:hover {
    background-color: var(--light-gray);
}

.product-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-image {
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.product-details h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 2px;
}

.product-details p {
    font-size: 12px;
    color: var(--secondary-color);
}

.product-stats {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 4px;
}

.units-sold {
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
}

.revenue {
    font-size: 14px;
    color: var(--success-color);
    font-weight: 600;
}

.alert-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid;
}

.alert-item.critical {
    background-color: rgba(239, 68, 68, 0.05);
    border-left-color: var(--danger-color);
}

.alert-item.warning {
    background-color: rgba(245, 158, 11, 0.05);
    border-left-color: var(--warning-color);
}

.alert-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.alert-item.critical .alert-icon {
    background-color: var(--danger-color);
    color: var(--white);
}

.alert-item.warning .alert-icon {
    background-color: var(--warning-color);
    color: var(--white);
}

.alert-info {
    flex: 1;
}

.alert-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 4px;
}

.alert-info p {
    font-size: 14px;
    color: var(--secondary-color);
}

.alert-actions {
    display: flex;
    gap: 8px;
}

/* Home Page Styles */
.home-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.home-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--medium-gray);
    box-shadow: var(--shadow);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-logo i {
    font-size: 24px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.login-btn-nav {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-btn-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--dark-gray);
    cursor: pointer;
    padding: 8px;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-content h2 {
    font-size: 24px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 18px;
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary-large,
.btn-secondary-large {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    border: none;
}

.btn-primary-large {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary-large {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary-large:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-graphic i {
    font-size: 60px;
    color: var(--white);
    position: absolute;
}

.hero-graphic i:nth-child(1) {
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
}

.hero-graphic i:nth-child(2) {
    bottom: 30%;
    left: 20%;
}

.hero-graphic i:nth-child(3) {
    bottom: 30%;
    right: 20%;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.features-section,
.about-section,
.contact-section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.features-section.animate-in,
.about-section.animate-in,
.contact-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.features-section {
    background: var(--white);
}

.features-section h2,
.about-section h2,
.contact-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: var(--white);
    padding: 40px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-icon i {
    font-size: 32px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* About Section */
.about-section {
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 16px;
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 40px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.stat h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat p {
    color: var(--secondary-color);
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-graphic {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(45deg);
}

.about-graphic i {
    font-size: 80px;
    color: var(--white);
    transform: rotate(-45deg);
}

/* Contact Section */
.contact-section {
    background: var(--white);
    text-align: center;
}

.contact-section p {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
}

.footer-logo i {
    font-size: 24px;
    color: var(--primary-color);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    color: var(--secondary-color);
}

/* Back to home link */
.back-to-home {
    margin-bottom: 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--primary-dark);
    transform: translateX(-5px);
}

/* Mobile Responsive for Home Page */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 40px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content h2 {
        font-size: 20px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-graphic {
        width: 200px;
        height: 200px;
    }
    
    .hero-graphic i {
        font-size: 40px;
    }
    
    .btn-primary-large,
    .btn-secondary-large {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .features-section,
    .about-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .features-section h2,
    .about-section h2,
    .contact-section h2 {
        font-size: 28px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
}

/* Professional Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    color: #333;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    min-width: 300px;
    max-width: 400px;
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid #10b981;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-success {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.toast-info {
    border-left-color: #3b82f6;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.toast-warning {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.toast-error {
    border-left-color: #ef4444;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.toast-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toast-message {
    flex: 1;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 20px;
    cursor: pointer;
    margin-left: 15px;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Enhanced Order Success Modal */
.order-success-details {
    text-align: center;
}

.success-header {
    margin-bottom: 30px;
}

.success-icon {
    font-size: 48px;
    color: #10b981;
    margin-bottom: 15px;
    display: block;
}

.success-header h2 {
    color: #1f2937;
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 600;
}

.success-header p {
    color: #6b7280;
    font-size: 16px;
}

.order-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
    text-align: left;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.info-label {
    font-weight: 500;
    color: #6b7280;
    font-size: 14px;
}

.info-value {
    font-weight: 600;
    color: #1f2937;
    font-size: 14px;
}

.info-value.total {
    color: #10b981;
    font-size: 16px;
}

.order-breakdown {
    background: #f9fafb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: left;
}

.order-breakdown h3 {
    color: #1f2937;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

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

.breakdown-row.total {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid #10b981;
    font-weight: 600;
    font-size: 16px;
    color: #10b981;
}

.confirmation-notes {
    text-align: left;
}

.note-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 10px;
    background: #ecfdf5;
    border-radius: 8px;
    border-left: 3px solid #10b981;
}

.note-item i {
    color: #10b981;
    margin-right: 12px;
    width: 16px;
    text-align: center;
}

.note-item span {
    color: #065f46;
    font-size: 14px;
    font-weight: 500;
}

/* Enhanced Button Animations */
.add-to-cart, .buy-now-btn {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
    overflow: hidden !important;
}

.add-to-cart:hover, .buy-now-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3) !important;
}

.add-to-cart:active, .buy-now-btn:active {
    transform: translateY(0) !important;
}

/* Quantity Controls Enhancement */
.quantity-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 15px !important;
    gap: 8px !important;
}

.qty-btn {
    width: 32px !important;
    height: 32px !important;
    border: 2px solid #10b981 !important;
    background: white !important;
    color: #10b981 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    transition: all 0.2s !important;
}

.qty-btn:hover {
    background: #10b981 !important;
    color: white !important;
}

.qty-input {
    width: 60px !important;
    height: 32px !important;
    text-align: center !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
}

/* Professional Loading States */
.processing-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.processing-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    max-width: 300px;
}

.processing-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #10b981;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.processing-text {
    color: #1f2937;
    font-weight: 600;
    font-size: 16px;
}

/* Mobile Responsiveness for Toast */
@media (max-width: 768px) {
    .toast {
        left: 20px;
        right: 20px;
        min-width: unset;
        max-width: unset;
        transform: translateY(-100px);
    }
    
    .toast.show {
        transform: translateY(0);
    }
    
    .order-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Professional Shopping Cart Styles */
.cart-section {
    margin-top: 40px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.cart-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 25px 30px;
    border-radius: 16px 16px 0 0;
    margin-bottom: 0;
}

.cart-section h2 {
    color: white;
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.cart-content {
    background: var(--white);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.cart-items {
    padding: 30px;
    margin-bottom: 0;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border: 2px solid #f3f4f6;
    border-radius: 16px;
    margin-bottom: 20px;
    background: #fafbfc;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cart-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.cart-item:hover {
    border-color: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
}

.cart-item:hover::before {
    transform: scaleY(1);
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.cart-item-emoji {
    font-size: 42px;
    background: white;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cart-item-details h4 {
    color: var(--black);
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 18px;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
    background: #ecfdf5;
    padding: 4px 12px;
    border-radius: 8px;
    display: inline-block;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 25px;
    background: white;
    padding: 8px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-qty-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.cart-qty-input {
    width: 60px;
    height: 36px;
    text-align: center;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 0;
    font-weight: 700;
    font-size: 16px;
    color: #1f2937;
}

.remove-item {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: var(--white);
    border: none;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.remove-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3);
}

.cart-summary {
    background: #f8fafc;
    border-top: none;
    padding: 30px;
    margin: 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

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

.summary-label {
    color: #6b7280;
    font-weight: 600;
}

.summary-value {
    color: #1f2937;
    font-weight: 700;
}

.summary-row.total {
    font-weight: 700;
    font-size: 22px;
    color: var(--primary-color);
    border-top: 3px solid var(--primary-color);
    padding-top: 20px;
    margin-top: 20px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.empty-cart {
    text-align: center;
    padding: 60px 40px;
    color: var(--secondary-color);
    background: white;
}

.empty-cart i {
    font-size: 64px;
    margin-bottom: 20px;
    color: #d1d5db;
}

.empty-cart h3 {
    font-size: 24px;
    color: #374151;
    margin-bottom: 12px;
    font-weight: 600;
}

.empty-cart p {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 25px;
}

.shop-now-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.shop-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

/* Professional Delivery Details Section */
.delivery-section {
    margin-top: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.delivery-header {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 25px 30px;
    margin-bottom: 0;
}

.delivery-section h3 {
    color: white;
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.delivery-content {
    padding: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafbfc;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #10b981;
    background: white;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
    font-style: italic;
}

.address-input {
    position: relative;
}

.address-input::before {
    content: '📍';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    z-index: 1;
}

.address-input input {
    padding-left: 50px;
}

.agent-select {
    position: relative;
}

.agent-select::before {
    content: '🚚';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    z-index: 1;
    pointer-events: none;
}

.agent-select select {
    padding-left: 50px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
}

.instructions-input {
    position: relative;
}

.instructions-input::before {
    content: '📝';
    position: absolute;
    left: 16px;
    top: 20px;
    font-size: 18px;
    z-index: 1;
}

.instructions-input textarea {
    padding-left: 50px;
    min-height: 100px;
    resize: vertical;
}

/* Professional Place Order Button */
.place-order-btn {
    width: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 20px 30px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.place-order-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.place-order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
}

.place-order-btn:hover::before {
    left: 100%;
}

.place-order-btn:active {
    transform: translateY(-1px);
}

.place-order-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Admin Dashboard Styles */
.admin-navbar, .admin-nav {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    padding: 0;
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 70px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 3px solid #10b981;
}

.admin-nav .nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.admin-nav .nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    color: white;
}

.admin-nav .nav-brand i {
    color: #10b981;
    font-size: 24px;
}

.admin-nav .nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
    align-items: center;
}

.admin-nav .nav-links a {
    color: #d1d5db;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.admin-nav .nav-links a:hover,
.admin-nav .nav-links a.active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.admin-nav .nav-links a i {
    font-size: 16px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
}

/* Admin Main Content */
.admin-main {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    background: #f8fafc;
    padding: 0;
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 30px;
}

/* Page Header Styling */
.page-header {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #10b981;
    margin-bottom: 40px;
}

.page-header h1 {
    color: #1f2937;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-header h1 i {
    color: #10b981;
    font-size: 28px;
}

.page-header p {
    color: #6b7280;
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

/* Admin Header */
.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #10b981;
}

.admin-header h1 {
    color: #1f2937;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-header h1 i {
    color: #10b981;
    font-size: 24px;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* Professional Cards */
.stats-grid, .summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card, .summary-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #10b981;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover, .summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stat-card::before, .summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.stat-value, .summary-value {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-value i, .summary-value i {
    color: #10b981;
    font-size: 24px;
}

.stat-label, .summary-label {
    color: #6b7280;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}

.stat-change {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-change.positive {
    color: #10b981;
}

.stat-change.negative {
    color: #ef4444;
}

/* Professional Tables */
.data-table-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
}

.table-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e5e7eb 100%);
    padding: 25px 30px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.table-header h3 {
    color: #1f2937;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-header h3 i {
    color: #10b981;
}

.table-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 10px 40px 10px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    width: 250px;
    background: white;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

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

.filter-select {
    padding: 10px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    min-width: 150px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table th {
    background: #f9fafb;
    color: #374151;
    font-weight: 600;
    padding: 20px 24px;
    text-align: left;
    border-bottom: 2px solid #e5e7eb;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td {
    padding: 20px 24px;
    border-bottom: 1px solid #f3f4f6;
    color: #1f2937;
    font-weight: 500;
}

.data-table tr:hover {
    background: #f9fafb;
}

.data-table tr:last-child td {
    border-bottom: none;
}

/* Status Badges */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-in-stock {
    background: #dcfce7;
    color: #166534;
}

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

.status-out-of-stock {
    background: #fee2e2;
    color: #991b1b;
}

.status-active {
    background: #dcfce7;
    color: #166534;
}

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

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

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-icon {
    padding: 8px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.btn-edit {
    background: #e0f2fe;
    color: #0369a1;
}

.btn-edit:hover {
    background: #0369a1;
    color: white;
    transform: scale(1.1);
}

.btn-delete {
    background: #fee2e2;
    color: #dc2626;
}

.btn-delete:hover {
    background: #dc2626;
    color: white;
    transform: scale(1.1);
}

.btn-view {
    background: #f3e8ff;
    color: #7c3aed;
}

.btn-view:hover {
    background: #7c3aed;
    color: white;
    transform: scale(1.1);
}

/* Date Range Picker */
.date-range-picker {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.date-range-picker input[type="date"] {
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    background: #f9fafb;
}

.date-range-picker span {
    color: #6b7280;
    font-weight: 500;
}

/* Charts and Analytics */
.charts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.chart-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f3f4f6;
}

.chart-header h3 {
    color: #1f2937;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-header h3 i {
    color: #10b981;
}

.chart-container {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border-radius: 12px;
    color: #6b7280;
    font-style: italic;
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .admin-container {
        padding: 30px 20px;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .header-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .stats-grid, .summary-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .admin-nav .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #1f2937;
        flex-direction: column;
        padding: 20px;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        gap: 10px;
    }
    
    .admin-nav .nav-links.active {
        transform: translateY(0);
    }
    
    .admin-container {
        padding: 20px 15px;
    }
    
    .data-table-container {
        overflow-x: auto;
    }
    
    .search-box input {
        width: 200px;
    }
    
    .date-range-picker {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .admin-header h1 {
        font-size: 22px;
    }
    
    .stat-value, .summary-value {
        font-size: 24px;
    }
    
    .stats-grid, .summary-cards {
        grid-template-columns: 1fr;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .btn {
        justify-content: center;
        width: 100%;
    }
}
