@import '_btn.css';
@import '_text_colors.css';

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8f9fa;
    color: #1a1a1a;
    min-height: 100vh;
}

.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

/* ==================== SIDEBAR ==================== */
.sidebar {
    width: 280px;
    background: #fff;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e7eb;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #14b8a6, #10b981);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
}

.menu-close {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #6b7280;
}

.sidebar-content {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 1.5rem;
}

.nav-section-title {
    padding: 0.5rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 0.875rem;
    color: #4b5563;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s;
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.nav-item:hover {
    background: #f3f4f6;
    color: #14b8a6;
}

.nav-item.active {
    background: linear-gradient(135deg, #14b8a6, #10b981);
    color: white;
    font-weight: 600;
}

.nav-item.active .nav-icon {
    color: white;
}

.nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #6b7280;
}

.nav-item:hover .nav-icon {
    color: #14b8a6;
}

.nav-item.active .nav-icon {
    color: white;
}

.nav-item-nested {
    padding-left: 3rem;
    font-size: 0.875rem;
}

.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
}

.upgrade-card {
    background: linear-gradient(135deg, #14b8a6 0%, #10b981 100%);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    color: white;
    margin-bottom: 1rem;
}

.upgrade-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.upgrade-title {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.upgrade-text {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.btn-upgrade {
    background: white;
    color: #14b8a6;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
}

.btn-upgrade:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
}

.user-profile:hover {
    background: #f3f4f6;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #14b8a6, #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 0.9375rem;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-plan {
    font-size: 0.75rem;
    color: #6b7280;
}
.user-dropdown-icon {
    transition: transform 0.2s;
}

.user-dropdown-icon.open {
    transform: rotate(180deg);
}

/* User Dropdown Menu */
.user-dropdown-menu {
    position: absolute;
    bottom: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 1000;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: #4b5563;
    text-decoration: none;
    transition: background 0.2s;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background: #f9fafb;
    color: #1a1a1a;
}

.dropdown-item svg {
    width: 18px;
    height: 18px;
    color: #6b7280;
}

.dropdown-item:hover svg {
    color: #14b8a6;
}

.dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0.25rem 0;
}

.dropdown-item.danger {
    color: #dc2626;
}

.dropdown-item.danger:hover {
    background: #fef2f2;
    color: #dc2626;
}

.dropdown-item.danger svg {
    color: #dc2626;
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
    flex: 1;
    margin-left: 280px;
    background: #f8f9fa;
}

.top-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: none;
}

@media (min-width: 992px) {
    .header-left {
        display: flex;
        flex-direction: column;
    }
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.page-subtitle {
    font-size: 0.9375rem;
    color: #6b7280;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.credits-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: #f3f4f6;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a1a1a;
}

.credits-label {
    color: #6b7280;
    font-weight: 500;
}

.credits-value {
    color: #14b8a6;
    font-weight: 700;
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #14b8a6, #10b981);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #6b7280;
}

.content-area {
    padding: 2rem;
}

/* ==================== FLASH MESSAGES ==================== */
.flash-message {
    position: fixed;
    top: 5rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 320px;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.flash-message.success {
    background: white;
    border: 1px solid #d1fae5;
    color: #065f46;
}

.flash-message.success .flash-icon {
    color: #10b981;
}

.flash-message.error {
    background: white;
    border: 1px solid #fee2e2;
    color: #991b1b;
}

.flash-message.error .flash-icon {
    color: #ef4444;
}

.flash-message.warning {
    background: white;
    border: 1px solid #fef3c7;
    color: #92400e;
}

.flash-message.warning .flash-icon {
    color: #f59e0b;
}

.flash-close {
    background: transparent;
    border: none;
    color: currentColor;
    cursor: pointer;
    padding: 0.25rem;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.flash-close:hover {
    opacity: 1;
}

/* ==================== SIDEBAR OVERLAY ==================== */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .menu-close {
        display: block;
    }

    .sidebar-overlay.active {
        display: block;
    }

    .content-area {
        padding: 1.0rem;
    }

    .top-header {
        padding: 1rem 1.5rem;
    }

    .flash-message {
        left: 1rem;
        right: 1rem;
        min-width: auto;
    }
}

@media (max-width: 640px) {
    .page-title {
        font-size: 1.5rem;
    }

    .credits-badge {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    .btn-primary {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    .btn-primary .btn-text {
        display: none;
    }
}
.user-dropdown-icon {
    transition: transform 0.2s;
}

.user-dropdown-icon.open {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute !important;
    bottom: calc(100% + 0.5rem) !important;
    left: 0 !important;
    right: 0 !important;
    background: white !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden !important;
    z-index: 1000 !important;
}

.dropdown-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.875rem 1rem !important;
    color: #4b5563 !important;
    text-decoration: none !important;
    transition: background 0.2s !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    border: none !important;
    background: none !important;
    width: 100% !important;
    text-align: left !important;
    cursor: pointer !important;
}

.dropdown-item:hover {
    background: #f9fafb !important;
    color: #1a1a1a !important;
}

.dropdown-item svg {
    width: 18px !important;
    height: 18px !important;
    color: #6b7280 !important;
}

.dropdown-item:hover svg {
    color: #14b8a6 !important;
}

.dropdown-divider {
    height: 1px !important;
    background: #e5e7eb !important;
    margin: 0.25rem 0 !important;
}

.dropdown-item.danger {
    color: #dc2626 !important;
}

.dropdown-item.danger:hover {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

.dropdown-item.danger svg {
    color: #dc2626 !important;
}

/* ==================== FORM ELEMENTS ==================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group.mb-3 {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.form-label span {
    color: #14b8a6;
    font-weight: 500;
}

.pizzipuk_text_sm {
    font-size: 0.875rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.5;
    color: #1a1a1a;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.form-control::placeholder {
    color: #9ca3af;
    font-size: 14px !important;
}

.form-control:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-control:hover:not(:focus) {
    border-color: #d1d5db;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.form-control:disabled {
    background-color: #f3f4f6;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Form validation states */
.form-control.is-invalid {
    border-color: #ef4444;
}

.form-control.is-invalid:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-control.is-valid {
    border-color: #10b981;
}

.form-control.is-valid:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* ==================== SELECT ELEMENT ==================== */
.form-select {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.5;
    color: #1a1a1a;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-select:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-select:hover:not(:focus) {
    border-color: #d1d5db;
}

.form-select:disabled {
    background-color: #f3f4f6;
    cursor: not-allowed;
    opacity: 0.6;
}

.form-select.is-invalid {
    border-color: #ef4444;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ef4444' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.form-select.is-invalid:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-select.is-valid {
    border-color: #10b981;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2310b981' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.form-select.is-valid:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Select size variants */
.form-select-sm {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.875rem;
}

.form-select-lg {
    padding: 1rem 3rem 1rem 1.25rem;
    font-size: 1rem;
}

/* ==================== SMALL HELPER TEXT ==================== */
small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.5;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: #6b7280;
}

/* ==================== CHECKBOX & RADIO ==================== */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.form-check-input {
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.125rem;
    cursor: pointer;
    accent-color: #14b8a6;
    flex-shrink: 0;
}

.form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-check-label {
    font-size: 0.9375rem;
    color: #4b5563;
    cursor: pointer;
    user-select: none;
}

/* Radio buttons */
.form-check-input[type="radio"] {
    border-radius: 50%;
}

/* Switch toggle */
.form-switch .form-check-input {
    width: 2.5rem;
    height: 1.25rem;
    border-radius: 2rem;
    background-color: #d1d5db;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='white'/%3e%3c/svg%3e");
    background-position: left center;
    background-size: contain;
    border: none;
    transition: all 0.2s;
}

.form-switch .form-check-input:checked {
    background-color: #14b8a6;
    background-position: right center;
}

/* ==================== INPUT GROUPS ==================== */
.input-group {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.input-group .form-control {
    border-radius: 0;
    flex: 1;
}

.input-group .form-control:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.input-group .form-control:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.input-group-text {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #6b7280;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    white-space: nowrap;
}

.input-group .input-group-text:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-right: none;
}

.input-group .input-group-text:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-left: none;
}

/* ==================== FILE UPLOAD ==================== */
.form-file {
    position: relative;
}

.form-file-input {
    position: relative;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    color: #1a1a1a;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-file-input::file-selector-button {
    padding: 0.5rem 1rem;
    margin-right: 1rem;
    color: #14b8a6;
    background-color: rgba(20, 184, 166, 0.1);
    border: 1px solid #14b8a6;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.form-file-input::file-selector-button:hover {
    background-color: rgba(20, 184, 166, 0.2);
}

.form-file-input:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

/* ==================== RANGE SLIDER ==================== */
.form-range {
    width: 100%;
    height: 1.5rem;
    padding: 0;
    background-color: transparent;
    appearance: none;
}

.form-range:focus {
    outline: none;
}

.form-range::-webkit-slider-track {
    width: 100%;
    height: 0.5rem;
    background-color: #e5e7eb;
    border-radius: 0.5rem;
}

.form-range::-webkit-slider-thumb {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: -0.375rem;
    background: linear-gradient(135deg, #14b8a6, #10b981);
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    appearance: none;
}

.form-range::-moz-range-track {
    width: 100%;
    height: 0.5rem;
    background-color: #e5e7eb;
    border-radius: 0.5rem;
}

.form-range::-moz-range-thumb {
    width: 1.25rem;
    height: 1.25rem;
    background: linear-gradient(135deg, #14b8a6, #10b981);
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.invalid-feedback {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: #ef4444;
}

.valid-feedback {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: #10b981;
}

/* Helper text */
.form-text {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: #6b7280;
}

/* Secondary button variant */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: #4b5563;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    justify-content: center;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

/* Outline button variant */
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: #14b8a6;
    border: 1px solid #14b8a6;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-outline:hover {
    background: rgba(20, 184, 166, 0.1);
}

/* Small button size */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Large button size */
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}



/* ==================== PIZZIPUK COLOR SYSTEM ==================== */

/* Primary Colors - Teal */
.pizzipuk-primary {
    color: #14b8a6;
}

.pizzipuk-primary-dark {
    color: #0d9488;
}

.pizzipuk-primary-light {
    color: #2dd4bf;
}

.bg-pizzipuk-primary {
    background-color: #14b8a6;
}

.bg-pizzipuk-primary-dark {
    background-color: #0d9488;
}

.bg-pizzipuk-primary-light {
    background-color: #2dd4bf;
}

.border-pizzipuk-primary {
    border-color: #14b8a6;
}

/* Secondary Colors - Green */
.pizzipuk-secondary {
    color: #10b981;
}

.pizzipuk-secondary-dark {
    color: #059669;
}

.pizzipuk-secondary-light {
    color: #34d399;
}

.bg-pizzipuk-secondary {
    background-color: #10b981;
}

.bg-pizzipuk-secondary-dark {
    background-color: #059669;
}

.bg-pizzipuk-secondary-light {
    background-color: #34d399;
}

.border-pizzipuk-secondary {
    border-color: #10b981;
}

/* Accent Colors - Amber */
.pizzipuk-accent {
    color: #f59e0b;
}

.pizzipuk-accent-dark {
    color: #d97706;
}

.pizzipuk-accent-light {
    color: #fbbf24;
}

.bg-pizzipuk-accent {
    background-color: #f59e0b;
}

.bg-pizzipuk-accent-dark {
    background-color: #d97706;
}

.bg-pizzipuk-accent-light {
    background-color: #fbbf24;
}

.border-pizzipuk-accent {
    border-color: #f59e0b;
}

/* Gradient Backgrounds */
.bg-pizzipuk-gradient {
    background: linear-gradient(135deg, #14b8a6, #10b981);
}

.bg-pizzipuk-gradient-reverse {
    background: linear-gradient(135deg, #10b981, #14b8a6);
}

.bg-pizzipuk-gradient-accent {
    background: linear-gradient(135deg, #14b8a6, #f59e0b);
}

.bg-pizzipuk-gradient-light {
    background: linear-gradient(135deg, #2dd4bf, #34d399);
}

/* Gradient Text */
.text-pizzipuk-gradient {
    background: linear-gradient(135deg, #14b8a6, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-pizzipuk-gradient-primary {
    background: linear-gradient(135deg, #14b8a6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Neutral Colors - Dark Theme */
.pizzipuk-dark {
    color: #0a0f1e;
}

.pizzipuk-dark-surface {
    color: #111827;
}

.pizzipuk-dark-elevated {
    color: #1f2937;
}

.bg-pizzipuk-dark {
    background-color: #0a0f1e;
}

.bg-pizzipuk-dark-surface {
    background-color: #111827;
}

.bg-pizzipuk-dark-elevated {
    background-color: #1f2937;
}

.border-pizzipuk-dark {
    border-color: rgba(255, 255, 255, 0.08);
}

/* Neutral Colors - Light Theme */
.pizzipuk-light {
    color: #f8f9fa;
}

.pizzipuk-light-gray {
    color: #f3f4f6;
}

.pizzipuk-gray {
    color: #e5e7eb;
}

.bg-pizzipuk-light {
    background-color: #f8f9fa;
}

.bg-pizzipuk-light-gray {
    background-color: #f3f4f6;
}

.bg-pizzipuk-gray {
    background-color: #e5e7eb;
}

.border-pizzipuk-light {
    border-color: #e5e7eb;
}

/* Text Colors */
.pizzipuk-text-primary {
    color: #1a1a1a;
}

.pizzipuk-text-secondary {
    color: #4b5563;
}

.pizzipuk-text-muted {
    color: #6b7280;
}

.pizzipuk-text-light {
    color: #9ca3af;
}

.pizzipuk-text-white {
    color: #ffffff;
}

.pizzipuk-text-white-70 {
    color: rgba(255, 255, 255, 0.7);
}

.pizzipuk-text-white-50 {
    color: rgba(255, 255, 255, 0.5);
}

/* Status Colors */
.pizzipuk-success {
    color: #10b981;
}

.pizzipuk-warning {
    color: #f59e0b;
}

.pizzipuk-error {
    color: #ef4444;
}

.pizzipuk-info {
    color: #3b82f6;
}

.bg-pizzipuk-success {
    background-color: #10b981;
}

.bg-pizzipuk-warning {
    background-color: #f59e0b;
}

.bg-pizzipuk-error {
    background-color: #ef4444;
}

.bg-pizzipuk-info {
    background-color: #3b82f6;
}

/* Status Light Backgrounds */
.bg-pizzipuk-success-light {
    background-color: #d1fae5;
}

.bg-pizzipuk-warning-light {
    background-color: #fef3c7;
}

.bg-pizzipuk-error-light {
    background-color: #fee2e2;
}

.bg-pizzipuk-info-light {
    background-color: #dbeafe;
}

/* Border Colors */
.border-pizzipuk-success {
    border-color: #10b981;
}

.border-pizzipuk-warning {
    border-color: #f59e0b;
}

.border-pizzipuk-error {
    border-color: #ef4444;
}

.border-pizzipuk-info {
    border-color: #3b82f6;
}

/* Opacity Utilities */
.pizzipuk-opacity-90 {
    opacity: 0.9;
}

.pizzipuk-opacity-80 {
    opacity: 0.8;
}

.pizzipuk-opacity-70 {
    opacity: 0.7;
}

.pizzipuk-opacity-60 {
    opacity: 0.6;
}

.pizzipuk-opacity-50 {
    opacity: 0.5;
}

/* Hover States */
.hover-pizzipuk-primary:hover {
    color: #14b8a6;
}

.hover-bg-pizzipuk-primary:hover {
    background-color: #14b8a6;
}

.hover-pizzipuk-primary-light:hover {
    background-color: rgba(20, 184, 166, 0.1);
}

.hover-pizzipuk-secondary-light:hover {
    background-color: rgba(16, 185, 129, 0.1);
}

.hover-border-pizzipuk-primary:hover {
    border-color: #14b8a6;
}

/* Focus Ring */
.focus-ring-pizzipuk:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
    border-color: #14b8a6;
}

/* Shadow Utilities */
.shadow-pizzipuk-primary {
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.3);
}

.shadow-pizzipuk-primary-lg {
    box-shadow: 0 8px 30px rgba(20, 184, 166, 0.4);
}

.shadow-pizzipuk-accent {
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

/* ==================== CUSTOM SELECT COMPONENT ==================== */
.custom-select {
    position: relative;
}

.custom-select.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.custom-select-trigger {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.5;
    color: #1a1a1a;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-select-trigger:hover:not(:disabled) {
    border-color: #d1d5db;
}

.custom-select-trigger:focus,
.custom-select-trigger.active {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.custom-select-trigger:disabled {
    background-color: #f3f4f6;
    cursor: not-allowed;
}

.custom-select-trigger.is-invalid {
    border-color: #ef4444;
}

.custom-select-trigger.is-invalid:focus,
.custom-select-trigger.is-invalid.active {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.select-arrow {
    color: #6b7280;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.select-arrow.rotate {
    transform: rotate(180deg);
}

.custom-select-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

/* Dropdown opens downward (default) */
.custom-select-dropdown.dropdown-bottom {
    top: calc(100% + 0.5rem);
}

/* Dropdown opens upward */
.custom-select-dropdown.dropdown-top {
    bottom: calc(100% + 0.5rem);
}

.custom-select-option {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    color: #4b5563;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
}

.custom-select-option:hover {
    background-color: rgba(20, 184, 166, 0.1);
    color: #14b8a6;
}

.custom-select-option.selected {
    background-color: rgba(20, 184, 166, 0.15);
    color: #14b8a6;
    font-weight: 600;
}

.custom-select-option:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.custom-select-option:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Scrollbar styling for dropdown */
.custom-select-dropdown::-webkit-scrollbar {
    width: 8px;
}

.custom-select-dropdown::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 8px;
}

.custom-select-dropdown::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 8px;
}

.custom-select-dropdown::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* ==================== STICKY CARD ==================== */
.sticky-card {
    position: fixed;
    z-index: 9998;
    max-width: 500px;
    width: calc(100% - 2rem);
    padding: 0;
}

/* Position variants */
.sticky-card-bottom-center {
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
}

.sticky-card-bottom-left {
    bottom: 1.5rem;
    left: 1.5rem;
}

.sticky-card-bottom-right {
    bottom: 1.5rem;
    right: 1.5rem;
}

.sticky-card-content {
    background: linear-gradient(135deg, #1f2937, #111827);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sticky-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #14b8a6, #10b981);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sticky-card-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.sticky-card-message {
    flex: 1;
    min-width: 0;
}

.sticky-card-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.sticky-card-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.sticky-card-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #14b8a6, #10b981);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.sticky-card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}

.sticky-card-button svg {
    width: 16px;
    height: 16px;
}

.sticky-card-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.7);
}

.sticky-card-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .sticky-card {
        width: calc(100% - 1rem);
        max-width: none;
    }

    .sticky-card-bottom-center,
    .sticky-card-bottom-left,
    .sticky-card-bottom-right {
        left: 0.5rem;
        right: 0.5rem;
        transform: none;
    }

    .sticky-card-content {
        flex-wrap: wrap;
        padding: 1rem;
    }

    .sticky-card-button {
        width: 100%;
        justify-content: center;
        order: 3;
    }

    .sticky-card-close {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
    }
}

/* Adjust for dashboard sidebar */
@media (min-width: 1025px) {
    .main-content .sticky-card-bottom-center {
        left: calc(50% + 140px); /* Half of sidebar width */
    }

    .main-content .sticky-card-bottom-left {
        left: calc(280px + 1.5rem); /* Sidebar width + margin */
    }
}

[x-cloak]{
    display: none !important;
}

@media (max-width: 640px) {
    .content-area {
        padding: 0.75rem;  /* Even less on small phones */
    }
}

.form-signin {
    width: 100%;
    max-width: 200px;
    margin: auto;
}

