/* RTL Hebrew Support */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Screen reader only class for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Toast Notification Styles */
.toast-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    animation: toastSlideIn 0.3s ease-out;
    pointer-events: auto;
    border-right: 4px solid;
}

.toast.success {
    border-color: #4CAF50;
}

.toast.error {
    border-color: #F44336;
}

.toast.info {
    border-color: #2196F3;
}

.toast.warning {
    border-color: #FFC107;
}

.toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    color: #4CAF50;
}

.toast.error .toast-icon {
    color: #F44336;
}

.toast.info .toast-icon {
    color: #2196F3;
}

.toast.warning .toast-icon {
    color: #FFC107;
}

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

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

.toast-close:hover {
    background: #F5F5F5;
    color: #212121;
}

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

.toast.fade-out {
    animation: toastSlideOut 0.3s ease-in forwards;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: rtl;
    text-align: right;
    background: #FFFFFF;
    color: #212121;
    min-height: 100vh;
}

/* Match dashboard colors exactly */
:root {
    --logoDark: #8B5E3C;
    --cupGreen: #BCCEA0;
    --logoMedium: #5D4037;
    --textDark: #212121;
    --textLight: #757575;
    --gray: #E0E0E0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
/* Header */
.header {
    background: #BCCEA0;
    border-radius: 20px;
    padding: 20px 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 100px;
    width: 100%;
    overflow: hidden;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 100px;
    width: 100px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.logo img {
    height: 200%;
    width: 180%;
    object-fit: contain;
}

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

.header-actions-left {
    display: flex;
    margin-right: auto;
    padding-left: 150px;
    gap: 15px;
    flex-shrink: 1;
    min-width: 0;
    max-width: calc(50% - 75px);
}

.header-actions-right {
    display: flex;
    gap: 15px;
    margin-left: auto;
    padding-right: 150px;
    flex-shrink: 1;
    min-width: 0;
    max-width: calc(50% - 75px);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-primary {
    background: #8B5E3C;
    color: #FFFFFF;
}

.btn-primary:hover {
    background: #5D4037;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: #E0E0E0;
    color: #212121;
}

.btn-secondary:hover {
    background: #BDBDBD;
}

.btn-success {
    background: #4CAF50;
    color: #FFFFFF;
}

.btn-success:hover {
    background: #45a049;
}

.btn-danger {
    background: #F44336;
    color: #FFFFFF;
}

.btn-danger:hover {
    background: #da190b;
}

/* Main Content */
.main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

section {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
}

section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #8B5E3C;
    border-bottom: 2px solid #BCCEA0;
    padding-bottom: 10px;
}

/* Match dashboard header color */
.header {
    background: #BCCEA0 !important;
}

/* Status Section */
.status-card {
    background: #F5F5F5;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
}

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

.status-text {
    font-size: 20px;
    font-weight: 600;
}

.status-text.open {
    color: #4CAF50;
}

.status-text.closed {
    color: #F44336;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    border: 2px solid #E0E0E0;
    background: #FFFFFF;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    transform: scale(1);
}

.tab-btn:hover {
    border-color: #8B5E3C;
}

.tab-btn.active {
    background: #8B5E3C;
    color: #FFFFFF;
    border-color: #8B5E3C;
}

/* Orders List */
.orders-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.order-card {
    background: #FFFFFF;
    border-radius: 15px;
    padding: 16px;
    border-right: 4px solid #8B5E3C;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
}

.order-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
}

.order-header {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    direction: rtl;
}

.order-number {
    font-size: 18px;
    font-weight: bold;
    color: #8B5E3C;
    text-align: right;
    direction: rtl;
}

.order-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.order-status.pending {
    background: #FFC107;
    color: #212121;
}

.order-status.preparing {
    background: #2196F3;
    color: #FFFFFF;
}

.order-status.ready {
    background: #4CAF50;
    color: #FFFFFF;
}

.order-status.completed {
    background: #9E9E9E;
    color: #FFFFFF;
}

.order-info {
    margin-bottom: 12px;
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
    font-size: 13px;
    direction: rtl;
}

.order-info-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    direction: rtl;
}

.order-info-item.order-info-total {
    font-weight: 600;
    color: #8B5E3C;
    font-size: 14px;
}

.order-info-item.order-info-time {
    grid-column: 1 / -1;
    font-size: 12px;
    color: #757575;
}

.order-info-item.order-info-prep {
    grid-column: 1 / -1;
}

.order-info-label {
    font-weight: 600;
    color: #757575;
    white-space: nowrap;
    text-align: right;
    direction: rtl;
}

.order-info-value {
    color: #212121;
    text-align: left;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    direction: ltr;
}

.order-info-value.order-info-price {
    direction: ltr;
    text-align: left;
}

.order-actions {
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
    flex-wrap: wrap;
    direction: rtl;
}

.order-actions .btn {
    padding: 8px 16px;
    font-size: 14px;
}

/* Order Items List */
.order-items-list {
    margin-top: 12px;
    margin-bottom: 12px;
    padding-top: 12px;
    border-top: 1px solid #E0E0E0;
}

.order-item {
    margin-bottom: 10px;
    padding: 10px;
    background: #F5F5F5;
    border-radius: 8px;
}

.order-item:last-child {
    margin-bottom: 0;
}

.order-item-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    direction: rtl;
}

.order-item-name {
    font-weight: 600;
    color: #212121;
    font-size: 14px;
    flex: 1;
    text-align: right;
    direction: rtl;
}

.order-item-price {
    font-weight: 600;
    color: #8B5E3C;
    font-size: 14px;
    margin-left: 8px;
    text-align: left;
    direction: ltr;
    flex-shrink: 0;
}

.order-item-details {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed #BDBDBD;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    gap: 6px;
    direction: rtl;
}

.order-item-detail-badge {
    display: inline-block;
    font-size: 12px;
    color: #616161;
    background: #FFFFFF;
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid #E0E0E0;
    white-space: nowrap;
    text-align: right;
    direction: rtl;
}

/* Preparation Time */
.preparation-time-section {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    direction: rtl;
    justify-content: space-between;
}

.preparation-time-label {
    font-weight: 600;
    color: #757575;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 0;
    white-space: nowrap;
}

.preparation-time-select {
    padding: 6px 10px;
    border: 1px solid #BDBDBD;
    border-radius: 6px;
    font-size: 13px;
    background: #FFFFFF;
    color: #212121;
    cursor: pointer;
    min-width: 120px;
    flex: 1;
    max-width: 200px;
}

.preparation-time-select:hover {
    border-color: #8B5E3C;
}

.preparation-time-select:focus {
    outline: none;
    border-color: #8B5E3C;
    box-shadow: 0 0 0 2px rgba(139, 94, 60, 0.2);
}

.preparation-time-display {
    margin-top: 0;
    font-size: 13px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    direction: rtl;
    justify-content: space-between;
}

/* Special Instructions */
.order-special-instructions {
    margin-top: 15px;
    padding: 12px;
    background: #FFF9C4;
    border-radius: 8px;
    border-right: 3px solid #FFC107;
    font-size: 14px;
    color: #212121;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

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

.modal-content {
    background: #FFFFFF;
    border-radius: 20px;
    width: 90%;
    max-width: 1200px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.modal-body {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 2px solid #E0E0E0;
}

.modal-header h2 {
    margin: 0;
    border: none;
    padding: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #757575;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #F5F5F5;
    color: #212121;
}

.modal-body {
    padding: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.category-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 10px 20px;
    border: 2px solid #E0E0E0;
    background: #FFFFFF;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
}

.category-tab:hover {
    border-color: #8B5E3C;
}

.category-tab.active {
    background: #8B5E3C;
    color: #FFFFFF;
    border-color: #8B5E3C;
}

.menu-items-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.menu-item-card {
    background: #F5F5F5;
    border-radius: 15px;
    padding: 15px;
    border-right: 4px solid #8B5E3C;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.menu-item-name {
    font-weight: 600;
    font-size: 16px;
}

.menu-item-toggle {
    width: 50px;
    height: 26px;
    background: #BDBDBD;
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}

.menu-item-toggle.active {
    background: #4CAF50;
}

.menu-item-toggle::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #FFFFFF;
    top: 2px;
    right: 2px;
    transition: transform 0.3s ease;
}

.menu-item-toggle.active::after {
    transform: translateX(-24px);
}

/* Loading */
.loading {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #757575;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #757575;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.empty-state-text {
    font-size: 18px;
}

/* Calculator Styles */
.calculator-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    max-height: 70vh;
    overflow: hidden;
}

.calculator-items {
    background: #F5F5F5;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.calculator-items h3 {
    margin-bottom: 15px;
    color: #8B5E3C;
    font-size: 18px;
}

.calculator-items-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.calculator-item {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.calculator-item-info {
    flex: 1;
}

.calculator-item-name {
    font-weight: 600;
    margin-bottom: 5px;
    color: #212121;
}

.calculator-item-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.calculator-item-inputs input {
    padding: 8px 12px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
    width: 120px;
}

.calculator-item-inputs input:focus {
    outline: none;
    border-color: #8B5E3C;
}

.calculator-item-price {
    font-size: 18px;
    font-weight: bold;
    color: #8B5E3C;
    min-width: 80px;
    text-align: left;
}

.calculator-item-remove {
    background: #F44336;
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.calculator-item-remove:hover {
    background: #da190b;
    transform: scale(1.1);
}

.calculator-summary {
    background: #F5F5F5;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    height: fit-content;
    display: flex;
    flex-direction: column;
}

.calculator-summary h3 {
    margin-bottom: 15px;
    color: #8B5E3C;
    font-size: 18px;
}

.calculator-customer-info {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.calculator-customer-info .form-group {
    margin-bottom: 15px;
}

.calculator-customer-info .form-group:last-child {
    margin-bottom: 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #FFFFFF;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #8B5E3C;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

#createManualOrderBtn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    margin-top: auto;
}

.add-item-form {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.add-item-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
}

.add-item-form input:focus {
    outline: none;
    border-color: #8B5E3C;
}

.add-item-form-buttons {
    display: flex;
    gap: 10px;
}

.add-item-form-buttons .btn {
    flex: 1;
}

/* Number Pad Styles */
.number-pad-modal {
    max-width: 400px;
}

.number-pad-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.number-pad-display {
    background: #F5F5F5;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

.number-pad-display input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 32px;
    font-weight: bold;
    color: #8B5E3C;
    text-align: center;
    direction: ltr;
}

.number-pad-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.number-pad-btn {
    padding: 12px 8px;
    border: 2px solid #E0E0E0;
    background: #FFFFFF;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #212121;
    min-height: 45px;
}

.number-pad-btn:hover {
    background: #8B5E3C;
    color: #FFFFFF;
    border-color: #8B5E3C;
    transform: scale(1.05);
}

.number-pad-btn:active {
    transform: scale(0.95);
}

.number-pad-clear {
    grid-column: span 2;
    background: #F44336;
    color: #FFFFFF;
    border-color: #F44336;
}

.number-pad-clear:hover {
    background: #da190b;
}

.number-pad-submit {
    grid-column: span 3;
    background: #4CAF50;
    color: #FFFFFF;
    border-color: #4CAF50;
    font-size: 16px;
    padding: 12px;
    min-height: 45px;
}

.number-pad-submit:hover {
    background: #45a049;
}

.calculator-item-input-display {
    padding: 12px 16px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #8B5E3C;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
    text-align: center;
    direction: ltr;
}

.calculator-item-input-display:hover {
    border-color: #8B5E3C;
    background: #F5F5F5;
}

.calculator-item-input-display:active {
    transform: scale(0.98);
}

/* Responsive */
@media (max-width: 1188px) {
    .header-actions-left {
        padding-left: 120px;
    }
    
    .header-actions-right {
        padding-right: 100px;
    }
}

@media (max-width: 968px) {
    .header-actions-left {
        padding-left: 120px;
    }
    
    .header-actions-right {
        padding-right: 150px;
    }
    
    .logo {
        height: 80px;
        width: 80px;
    }
    
    .header-actions-left .btn,
    .header-actions-right .btn {
        font-size: 14px;
        padding: 10px 18px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
        overflow: hidden;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        min-height: auto;
        overflow: visible;
    }

    .logo {
        position: static;
        transform: none;
        margin: 0 auto;
        height: 80px;
        width: 80px;
    }

    .header-actions-left,
    .header-actions-right {
        width: 100%;
        justify-content: center;
        padding: 0;
        margin: 0;
        flex-wrap: wrap;
    }
    
    .header-actions-left .btn,
    .header-actions-right .btn {
        font-size: 14px;
        padding: 10px 18px;
        flex: 0 1 auto;
        min-width: fit-content;
    }

    .orders-list {
        grid-template-columns: 1fr;
    }

    .tabs {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }

    .calculator-container {
        grid-template-columns: 1fr;
    }

    .calculator-summary {
        position: static;
    }
}

/* Login Modal Styles */
.login-modal {
    max-width: 450px;
    width: 90%;
}

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

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

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    direction: rtl;
    text-align: right;
}

.form-group input:focus {
    outline: none;
    border-color: #8B4513;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form-group input::placeholder {
    color: #9E9E9E;
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    direction: rtl;
    text-align: right;
    background-color: #FFFFFF;
    color: #212121;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238B4513' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    padding-right: 16px;
    padding-left: 40px;
}

.form-select:focus {
    outline: none;
    border-color: #8B4513;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form-select option {
    direction: rtl;
    text-align: right;
}

.error-message {
    background: #FFEBEE;
    color: #C62828;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    border-right: 4px solid #C62828;
    font-size: 14px;
    text-align: right;
}

#loginForm button,
#signUpForm button {
    width: 100%;
    margin-top: 8px;
}
