/* Guest Portal Component Styles */

/* Info Box */
.guest-info-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
}
.guest-info-box--success {
    background: #d1fae5;
    color: #065f46;
}
.guest-info-box--error {
    background: #fee2e2;
    color: #991b1b;
}

/* Ticket Card */
.guest-ticket-card {
    background: var(--gp-bg, #f8fafc);
    border: 1px solid var(--gp-border, #e2e8f0);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    transition: box-shadow 0.2s ease;
}
.guest-ticket-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.guest-ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 12px;
}
.guest-ticket-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.guest-ticket-code {
    font-weight: 700;
    color: var(--gp-text, #1e293b);
    margin-top: 6px;
    font-size: 15px;
}
.guest-ticket-time {
    font-size: 11px;
    color: var(--gp-text-muted, #94a3b8);
    margin-top: 2px;
}
.guest-ticket-right {
    text-align: right;
}
.guest-ticket-category {
    font-size: 11px;
    color: var(--gp-text-muted, #94a3b8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.guest-ticket-service {
    font-weight: 600;
    color: var(--gp-primary, #3b82f6);
    margin-top: 2px;
}
.guest-ticket-title {
    font-size: 14px;
    color: var(--gp-text, #1e293b);
    background: white;
    padding: 10px 12px;
    border-radius: 8px;
    border-left: 3px solid var(--gp-primary, #3b82f6);
    margin-bottom: 12px;
}
.guest-ticket-quick-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.guest-ticket-action {
    flex: 1;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--gp-border, #e2e8f0);
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 12px;
    color: var(--gp-text, #1e293b);
}
.guest-ticket-action i {
    font-size: 16px;
}
.guest-ticket-action-view:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #3b82f6;
}
.guest-ticket-action-reply:hover {
    background: #f0fdf4;
    border-color: #10b981;
    color: #10b981;
}
.guest-ticket-action-expedite:hover {
    background: #fffbeb;
    border-color: #f59e0b;
    color: #f59e0b;
}
.guest-ticket-new-request {
    margin-top: 20px;
    padding: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    text-align: center;
}
.guest-ticket-new-request p {
    margin: 0 0 12px;
    color: var(--gp-text-secondary, #64748b);
    font-size: 14px;
}

/* Selection Type Tabs */
.guest-selection-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.guest-selection-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    border: 2px solid var(--gp-border, #e2e8f0);
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}
.guest-selection-tab i {
    font-size: 24px;
    color: var(--gp-text-muted, #94a3b8);
    margin-bottom: 8px;
}
.guest-selection-tab span {
    font-weight: 600;
    color: var(--gp-text, #1e293b);
}
.guest-selection-tab small {
    font-size: 11px;
    color: var(--gp-text-muted, #94a3b8);
    margin-top: 4px;
}
.guest-selection-tab--active {
    border-color: var(--gp-primary, #3b82f6);
    background: #eff6ff;
}
.guest-selection-tab--active i {
    color: var(--gp-primary, #3b82f6);
}

/* Priced Items Grid */
.guest-items-grid--priced .guest-item-card {
    position: relative;
}
.guest-item-price {
    margin-top: 8px;
    padding: 6px 10px;
    background: #f0fdf4;
    border-radius: 6px;
    text-align: center;
}
.guest-price-amount {
    font-weight: 700;
    color: #059669;
    font-size: 16px;
}
.guest-price-currency {
    font-size: 11px;
    color: #059669;
    margin-left: 2px;
}

/* Cart/Order Modal Styles */
.guest-confirmation-content {
    padding: 0;
}
.guest-cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--gp-bg, #f8fafc);
    border-radius: 12px;
    margin-bottom: 16px;
}
.guest-cart-item-icon {
    width: 48px;
    height: 48px;
    background: var(--gp-primary, #3b82f6);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}
.guest-cart-item-info {
    flex: 1;
}
.guest-cart-item-name {
    font-weight: 600;
    color: var(--gp-text, #1e293b);
    margin-bottom: 4px;
}
.guest-cart-item-qty {
    font-size: 12px;
    color: var(--gp-text-muted, #64748b);
}
.guest-cart-item-price {
    font-weight: 700;
    color: var(--gp-text, #1e293b);
}
.guest-cart-totals {
    background: var(--gp-bg, #f8fafc);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}
.guest-cart-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: var(--gp-text-muted, #64748b);
}
.guest-cart-total {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 2px solid var(--gp-border, #e2e8f0);
    font-size: 18px;
    font-weight: 700;
    color: var(--gp-text, #1e293b);
}
.guest-cart-notice {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #eff6ff;
    border-radius: 12px;
    border: 1px solid #bfdbfe;
}
.guest-cart-notice i {
    color: #3b82f6;
    font-size: 20px;
    margin-top: 2px;
}
.guest-cart-notice strong {
    display: block;
    color: #1e40af;
    margin-bottom: 4px;
}
.guest-cart-notice p {
    margin: 0;
    font-size: 13px;
    color: #3b82f6;
}

/* Order Review Section (Step 6 for extra_charge) */
.guest-order-review {
    background: white;
    border-radius: 12px;
}
.guest-order-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--gp-bg, #f8fafc);
    border-radius: 12px;
    margin-bottom: 20px;
}
.guest-order-item-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--gp-primary, #3b82f6), #1d4ed8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}
.guest-order-item-info {
    flex: 1;
}
.guest-order-item-name {
    font-weight: 700;
    font-size: 18px;
    color: var(--gp-text, #1e293b);
    margin-bottom: 4px;
}
.guest-order-item-type {
    font-size: 13px;
    color: var(--gp-primary, #3b82f6);
}
.guest-order-pricing {
    background: var(--gp-bg, #f8fafc);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}
.guest-order-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    color: var(--gp-text-secondary, #64748b);
    font-size: 15px;
}
.guest-order-row:not(:last-child) {
    border-bottom: 1px solid var(--gp-border, #e2e8f0);
}
.guest-order-total {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 2px solid var(--gp-border, #e2e8f0) !important;
    font-size: 20px;
    font-weight: 700;
    color: var(--gp-text, #1e293b);
}
.guest-order-payment {
    background: #eff6ff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid #bfdbfe;
}
.guest-order-payment-label {
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.guest-order-payment-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--gp-text, #1e293b);
    margin-bottom: 8px;
}
.guest-order-payment-note {
    font-size: 13px;
    color: #3b82f6;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Quantity Selector */
.guest-quantity-section {
    background: var(--gp-bg, #f8fafc);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}
.guest-quantity-label {
    font-weight: 600;
    color: var(--gp-text, #1e293b);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}
.guest-quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.guest-quantity-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--gp-primary, #3b82f6);
    background: white;
    color: var(--gp-primary, #3b82f6);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.guest-quantity-btn:hover:not(:disabled) {
    background: var(--gp-primary, #3b82f6);
    color: white;
    transform: scale(1.05);
}
.guest-quantity-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.guest-quantity-btn--minus {
    border-color: #ef4444;
    color: #ef4444;
}
.guest-quantity-btn--minus:hover:not(:disabled) {
    background: #ef4444;
    color: white;
}
.guest-quantity-btn--plus {
    border-color: #22c55e;
    color: #22c55e;
}
.guest-quantity-btn--plus:hover:not(:disabled) {
    background: #22c55e;
    color: white;
}
.guest-quantity-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--gp-text, #1e293b);
    min-width: 50px;
    text-align: center;
}
.guest-quantity-hint {
    text-align: center;
    font-size: 12px;
    color: var(--gp-text-secondary, #64748b);
    margin-top: 8px;
}

/* Input with Action Button (e.g., QR scan button) */
.guest-input-with-action {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.guest-input-with-action .guest-input {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.guest-input-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    background: var(--gp-primary, #3b82f6);
    color: white;
    border: none;
    border-radius: 8px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 18px;
}
.guest-input-action-btn:hover {
    background: var(--gp-primary-dark, #2563eb);
    transform: scale(1.02);
}
.guest-input-action-btn:active {
    transform: scale(0.98);
}
.guest-input-action-btn i {
    margin: 0;
}
