﻿/* Authentication Styles */
.auth-body {
    background: linear-gradient(135deg, rgb(255 255 255 / 13%) 0%, rgb(255 255 255 / 23%) 100%), url('../bg-restaurant.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .auth-body::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5); /* Adjust the black overlay transparency */
        backdrop-filter: blur(2px); /* Apply blur effect */
        z-index: -1; /* Keep the overlay behind the content */
    }

.auth-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    min-height: 600px;
}

.auth-branding {
    flex: 1;
    background: linear-gradient(135deg, #f08d11 0%, #ff9f2e 100%);
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

    .auth-branding::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="20" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        opacity: 0.3;
    }

.branding-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 400px;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

    .brand-logo .brand-icon {
        width: 60px;
        height: 60px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        backdrop-filter: blur(10px);
    }

    .brand-logo h1 {
        font-size: 32px;
        font-weight: 700;
        margin: 0;
    }

.branding-text h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 16px 0;
    line-height: 1.2;
    color:black!important;
}

.branding-text p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
    margin: 0 0 40px 0;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.stat-item {
    text-align: center!important;
}

.stat-item .stat-number{
    text-align: center!important;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color:black!important;
}

#lbl_inventoryManagementMobile{
    display:none;
}

.auth-form-container {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-form {
    width: 100%;
    max-width: 400px;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

    .form-header h2 {
        font-size: 28px;
        font-weight: 700;
        color: #111827;
        margin: 0 0 8px 0;
    }

    .form-header p {
        font-size: 16px;
        color: #6b7280;
        margin: 0;
    }

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

    .input-wrapper i {
        position: absolute;
        left: 12px;
        color: #9ca3af;
        font-size: 16px;
        z-index: 1;
    }

    .input-wrapper input,
    .input-wrapper select,
    .input-wrapper textarea {
        width: 100%;
        padding: 12px 12px 12px 44px;
        border: 2px solid #e5e7eb;
        border-radius: 12px;
        font-size: 16px;
        transition: all 0.3s ease;
        background: #f9fafb;
    }

        .input-wrapper input:focus,
        .input-wrapper select:focus,
        .input-wrapper textarea:focus {
            outline: none;
            border-color: #f08d11;
            background: white;
            box-shadow: 0 0 0 3px rgba(240, 141, 17, 0.1);
        }

        .input-wrapper input.error,
        .input-wrapper select.error,
        .input-wrapper textarea.error {
            border-color: #ef4444;
            background: #fef2f2;
        }

.password-toggle {
    position: absolute;
    right: 26px;
    top: 8px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

    .password-toggle:hover {
        color: #6b7280;
        background: #f3f4f6;
    }


.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
}

    .checkbox-label input[type="checkbox"] {
        width: 16px;
        height: 16px;
        margin: 0;
        accent-color: #f08d11;
        display: none;
    }

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #f08d11;
    border-color: #f08d11;
}

    .checkbox-label input[type="checkbox"]:checked + .checkmark::after {
        content: "✓";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        font-size: 12px;
        font-weight: bold;
    }

.forgot-password {
    color: #f08d11;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .forgot-password:hover {
        color: #e07c0a;
        text-decoration: underline;
    }

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-loading {
    display: none;
}

.divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

    .divider::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: #e5e7eb;
    }

    .divider span {
        background: white;
        padding: 0 16px;
        color: #6b7280;
        font-size: 14px;
        position: relative;
    }

.social-login {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-social {
    flex: 1;
    justify-content: center;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    background: white;
    color: #374151;
    font-weight: 500;
}

    .btn-social:hover {
        border-color: #d1d5db;
        background: #f9fafb;
    }

.btn-google:hover {
    border-color: #ea4335;
    color: #ea4335;
}

.btn-microsoft:hover {
    border-color: #0078d4;
    color: #0078d4;
}

.form-footer {
    text-align: center;
}

    .form-footer p {
        color: #6b7280;
        font-size: 14px;
        margin: 0;
    }

    .form-footer a {
        color: #f08d11;
        text-decoration: none;
        font-weight: 500;
    }

        .form-footer a:hover {
            color: #e07c0a;
            text-decoration: underline;
        }
/* Demo Modal */
.demo-modal {
    max-width: 600px;
}

.demo-credentials {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.credential-item {
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

    .credential-item strong {
        display: block;
        margin-bottom: 12px;
        color: #111827;
        font-size: 16px;
    }

.credential-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

    .credential-details span {
        font-family: "Courier New", monospace;
        background: #e5e7eb;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 14px;
        color: #374151;
    }

.demo-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #f08d11;
    color: white;
    border: none;
    padding: 16px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(240, 141, 17, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

    .demo-btn:hover {
        background: #e07c0a;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(240, 141, 17, 0.4);
    }

    .demo-btn i {
        margin-right: 8px;
    }

/* Step Indicator */
.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
/* .step-indicator::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 25%;
  right: 25%;
  height: 2px;
  background: #e5e7eb;
  z-index: 0;
} */

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #f08d11;
    color: white;
}

.step.completed .step-number {
    background: #10b981;
    color: white;
}

.step span {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    text-align: center;
}

.step.active span {
    color: #f08d11;
    font-weight: 600;
}

.step.completed span {
    color: #10b981;
    font-weight: 600;
}
/* Multi-step Form */
.form-step {
    display: none;
}

    .form-step.active {
        display: block;
    }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    margin-bottom: 24px;
}

.prev-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

next-btn,
.submit-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Password Strength */
.password-strength {
    margin-top: 8px;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}

.strength-fill {
    height: 100%;
    background: #e5e7eb;
    border-radius: 2px;
    transition: all 0.3s ease;
    width: 0%;
}

.strength-text {
    font-size: 12px;
    color: #6b7280;
}

/* Plan Options */
.plan-options {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.plan-option {
    flex: 1;
    cursor: pointer;
}

    .plan-option input[type="radio"] {
        display: none;
    }

.plan-card {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    background: white;
}

.plan-option input[type="radio"]:checked + .plan-card {
    border-color: #f08d11;
    background: #fef7ed;
}

.plan-card.popular {
    border-color: #f08d11;
    background: #fef7ed;
}

.popular-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #f08d11;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    width: 130px;
    text-align: center;
}

.plan-header {
    text-align: center;
    margin-bottom: 16px;
}

    .plan-header h4 {
        font-size: 18px;
        font-weight: 600;
        color: #111827;
        margin: 0 0 8px 0;
    }

.plan-price {
    font-size: 24px;
    font-weight: 700;
    color: #f08d11;
}

    .plan-price span {
        font-size: 14px;
        color: #6b7280;
        font-weight: 500;
    }

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .plan-features li {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 4px 0;
        font-size: 14px;
        color: #374151;
    }

    .plan-features i {
        color: #10b981;
        font-size: 12px;
    }
/* Responsive Design */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .restaurant-grid {
        grid-template-columns: 1fr;
    }

    .settings-grid {
        grid-template-columns: 1fr;
    }

    .performance-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .auth-container {
        flex-direction: column;
        max-width: 500px;
        flex-direction: column-reverse;
    }

    .auth-branding {
        padding: 40px 30px;
    }

    .features-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .plan-options {
        flex-direction: column;
    }

    .stat-item {
        background: transparent;
        padding: 0px;
    }
    .stat-item .stat-number {
        margin:0px;
        padding:0px;
    }
    .stat-item .stat-label {
        margin:0px;
        padding:0px;
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 8px 16px;
    }

    .nav-item {
        white-space: nowrap;
        min-width: auto;
    }

    .sidebar-search,
    .sidebar-footer {
        display: none;
    }

    .main-content {
        padding: 16px;
    }

    .page-header {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .header-actions {
        justify-content: stretch;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }

    .filters {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .search-wrapper {
        max-width: none;
    }

    .alert-grid {
        grid-template-columns: 1fr;
    }

    .restaurant-stats {
        grid-template-columns: 1fr;
    }

    .restaurant-actions {
        flex-direction: column;
    }

    .table-container {
        font-size: 12px;
    }

    .data-table th,
    .data-table td {
        padding: 8px;
    }

    .performance-metrics {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .integration-item {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .integration-status {
        justify-content: space-between;
    }

    .modal-content {
        width: 95%;
        margin: 20px;
    }

    .auth-body {
        padding: 10px;
    }

    .auth-form-container {
        padding: 40px 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .social-login {
        flex-direction: column;
    }
}

@media only screen and (max-width:1024px){
    .stat-number{
        display:none;
    }
    .stat-label {
        color: #000;
        font-size: 20px!important;
        font-weight:600;
    }
    .branding-text{
        color:#000!important
    }
    .stats-grid{
        gap:8px
    }
}

@media only screen and (max-width:768px){
    #lbl_inventoryManagement{
        display:none;
    }
    #lbl_inventoryManagementMobile{
        display:block;
    }
}