.guest-portal{min-height:100vh;background:linear-gradient(135deg,#f8fafc,#eef2ff 50%,#f0f9ff)}.guest-navbar{position:sticky;top:0;z-index:50;background:hsla(0,0%,100%,.85);backdrop-filter:blur(12px) saturate(180%);border-bottom:1px solid rgba(99,102,241,.08)}.guest-navbar-inner{max-width:800px;margin:0 auto;padding:12px 16px;display:flex;align-items:center;justify-content:space-between}.guest-navbar-logo{text-decoration:none;font-weight:700;font-size:18px;color:#1e293b}.guest-navbar-logo,.guest-navbar-user{display:flex;align-items:center;gap:10px}.guest-navbar-avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px}.guest-navbar-name{font-size:14px;font-weight:500;color:#475569;display:none}@media (min-width:480px){.guest-navbar-name{display:block}}.guest-navbar-logout{background:none;border:none;cursor:pointer;color:#94a3b8;padding:6px;border-radius:8px;transition:all .2s}.guest-navbar-logout:hover{color:#ef4444;background:#fef2f2}.guest-auth-page{min-height:calc(100vh - 60px);display:flex;align-items:center;justify-content:center;padding:24px 16px}.guest-auth-card{width:100%;max-width:420px;background:hsla(0,0%,100%,.9);backdrop-filter:blur(20px);border-radius:24px;padding:36px 28px;box-shadow:0 8px 32px rgba(99,102,241,.08),0 1px 3px rgba(0,0,0,.04);border:1px solid rgba(99,102,241,.1);animation:slideUp .4s ease}.guest-auth-header{text-align:center;margin-bottom:28px}.guest-auth-title{font-size:24px;font-weight:700;color:#1e293b;margin:0 0 6px}.guest-auth-subtitle{font-size:14px;color:#64748b;margin:0}.guest-auth-tabs{display:flex;gap:0;margin-bottom:24px;background:#f1f5f9;border-radius:12px;padding:3px}.guest-auth-tab{flex:1;padding:10px;text-align:center;border:none;background:none;font-size:14px;font-weight:500;color:#64748b;border-radius:10px;cursor:pointer;transition:all .2s}.guest-auth-tab--active{background:#fff;color:#6366f1;box-shadow:0 1px 3px rgba(0,0,0,.08);font-weight:600}.guest-auth-field{margin-bottom:16px}.guest-auth-label{display:block;font-size:13px;font-weight:500;color:#475569;margin-bottom:6px}.guest-auth-input{width:100%;padding:12px 14px;border:1.5px solid #e2e8f0;border-radius:12px;font-size:15px;color:#1e293b;outline:none;transition:all .2s;background:#fff;box-sizing:border-box}.guest-auth-input:focus{border-color:#6366f1;box-shadow:0 0 0 3px rgba(99,102,241,.1)}.guest-auth-input::-moz-placeholder{color:#94a3b8}.guest-auth-input::placeholder{color:#94a3b8}.guest-auth-btn{width:100%;padding:14px;border:none;border-radius:12px;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:8px}.guest-auth-btn--primary{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff}.guest-auth-btn--primary:hover{transform:translateY(-1px);box-shadow:0 6px 20px rgba(99,102,241,.3)}.guest-auth-btn--primary:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.guest-auth-btn--outline{background:#fff;color:#6366f1;border:1.5px solid #e2e8f0}.guest-auth-btn--outline:hover{border-color:#6366f1;background:#f5f3ff}.guest-auth-link{display:block;text-align:center;margin-top:16px;font-size:14px;color:#6366f1;text-decoration:none;font-weight:500}.guest-auth-link:hover{text-decoration:underline}.guest-auth-divider{display:flex;align-items:center;gap:12px;margin:20px 0;color:#94a3b8;font-size:13px}.guest-auth-divider:after,.guest-auth-divider:before{content:"";flex:1;height:1px;background:#e2e8f0}.guest-auth-error{background:#fef2f2;color:#dc2626;border-radius:10px;border:1px solid #fecaca}.guest-auth-error,.guest-auth-success{padding:10px 14px;font-size:13px;margin-bottom:16px}.guest-auth-success{background:#f0fdf4;color:#16a34a;border-radius:10px;border:1px solid #bbf7d0}.guest-otp-row{display:flex;gap:8px}.guest-otp-row .guest-auth-input{flex:1}.guest-otp-send{flex-shrink:0;padding:12px 16px;border:1.5px solid #6366f1;background:#f5f3ff;color:#6366f1;border-radius:12px;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap;transition:all .2s}.guest-otp-send:hover{background:#6366f1;color:#fff}.guest-otp-send:disabled{opacity:.5;cursor:not-allowed}.guest-dashboard{max-width:800px;margin:0 auto;padding:20px 16px 40px}.guest-dashboard-greeting{font-size:22px;font-weight:700;color:#1e293b;margin:0 0 4px}.guest-dashboard-sub{font-size:14px;color:#64748b;margin:0 0 24px}.guest-section-title{display:flex;align-items:center;justify-content:space-between;margin:24px 0 12px}.guest-section-label{font-size:13px;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;display:flex;align-items:center;gap:8px}.guest-section-count{font-size:12px;color:#94a3b8;background:#f1f5f9;padding:2px 8px;border-radius:10px}.guest-section-toggle{background:none;border:none;font-size:13px;color:#6366f1;cursor:pointer;font-weight:500}.booking-card{display:block;background:#fff;border-radius:16px;padding:18px;margin-bottom:12px;text-decoration:none;color:inherit;border:1px solid #e2e8f0;transition:all .2s;box-shadow:0 1px 3px rgba(0,0,0,.03)}.booking-card:hover{border-color:#c7d2fe;box-shadow:0 4px 16px rgba(99,102,241,.1);transform:translateY(-1px)}.booking-card--active{border-color:#a5b4fc;background:linear-gradient(135deg,#fff,#eef2ff);box-shadow:0 2px 12px rgba(99,102,241,.12);position:relative}.booking-card--active:before{content:"";position:absolute;top:-1px;left:20px;right:20px;height:3px;background:linear-gradient(90deg,#6366f1,#8b5cf6);border-radius:0 0 3px 3px}.booking-card-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:12px;gap:8px}.booking-card-body{margin-bottom:14px}.booking-card-dates{display:flex;align-items:center;gap:6px;font-size:14px;color:#334155;flex-wrap:wrap}.booking-card-label{font-weight:500;color:#64748b;font-size:13px}.booking-card-separator{color:#94a3b8}.booking-card-duration{font-size:13px;color:#6366f1;font-weight:500}.booking-card-room{font-size:13px;color:#64748b;margin-top:6px}.booking-card-rate{font-size:14px;font-weight:600;color:#334155;margin-top:6px}.booking-card-next-due{margin-top:8px;padding:8px 12px;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;font-size:13px;color:#dc2626;display:flex;align-items:center;justify-content:space-between;gap:8px}.booking-card-due-label{font-weight:600}.booking-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.booking-card-arrow{color:#c7d2fe;font-size:18px;font-weight:600;transition:color .2s}.booking-card:hover .booking-card-arrow{color:#6366f1}.property-badge{display:flex;align-items:center;gap:10px}.property-badge-icon{font-size:22px}.property-badge-name{font-size:15px;font-weight:600;color:#1e293b;line-height:1.2}.property-badge-city{font-size:12px;color:#94a3b8}.status-badge{display:inline-flex;align-items:center;padding:3px 10px;border-radius:20px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.03em;flex-shrink:0}.status-badge--active{background:#ecfdf5;color:#059669}.status-badge--confirmed{background:#eff6ff;color:#2563eb}.status-badge--pending{background:#fffbeb;color:#d97706}.status-badge--completed{background:#f1f5f9;color:#64748b}.status-badge--cancelled{background:#fef2f2;color:#dc2626}.payment-progress{flex:1}.payment-progress-bar{height:5px;background:#e2e8f0;border-radius:3px;overflow:hidden}.payment-progress-fill{height:100%;background:linear-gradient(90deg,#6366f1,#8b5cf6);border-radius:3px;transition:width .3s ease}.payment-progress-text{display:flex;align-items:center;gap:4px;margin-top:4px;font-size:13px;font-weight:600;color:#334155}.payment-progress-total{font-weight:400;color:#94a3b8}.rent-ledger{margin-top:20px}.rent-ledger-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}.rent-summary-card{padding:14px;border-radius:14px;text-align:center}.rent-summary-card--paid{background:#ecfdf5}.rent-summary-card--due{background:#fef2f2}.rent-summary-card--upcoming{background:#f1f5f9}.rent-summary-label{font-size:11px;font-weight:600;text-transform:uppercase;color:#64748b;margin-bottom:4px}.rent-summary-amount{font-size:16px;font-weight:700;color:#1e293b}.rent-next-due{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:linear-gradient(135deg,#fef2f2,#fff7ed);border:1px solid #fecaca;border-radius:14px;margin-bottom:16px}.rent-next-due-text{display:flex;flex-direction:column}.rent-next-due-label{font-size:12px;font-weight:600;color:#dc2626;text-transform:uppercase}.rent-next-due-date{font-size:14px;color:#334155;font-weight:500}.rent-next-due-amount{font-size:20px;font-weight:700;color:#dc2626}.rent-ledger-table{border:1px solid #e2e8f0;border-radius:14px;overflow:hidden}.rent-ledger-header{padding:10px 14px;background:#f8fafc;font-size:11px;font-weight:600;text-transform:uppercase;color:#94a3b8;letter-spacing:.03em}.rent-ledger-header,.rent-ledger-row{display:grid;grid-template-columns:1fr 1fr 1fr}.rent-ledger-row{padding:12px 14px;border-top:1px solid #f1f5f9;align-items:center;transition:background .15s}.rent-ledger-row:hover{background:#fafbff}.rent-ledger-row--paid{opacity:.8}.rent-ledger-row--due{background:#fffbeb}.rent-ledger-month{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500;color:#334155}.rent-ledger-icon{font-size:14px}.rent-ledger-amount{font-size:14px;font-weight:600;color:#1e293b}.rent-ledger-partial{font-size:11px;color:#6366f1;font-weight:500}.rent-ledger-status{font-size:12px}.rent-paid-date{color:#059669;font-weight:500}.rent-due-tag{background:#fecaca;color:#dc2626;padding:2px 8px;border-radius:6px;font-weight:600;font-size:11px}.rent-upcoming-tag{color:#94a3b8}.guest-detail{max-width:800px;margin:0 auto;padding:20px 16px 40px}.guest-detail-back{display:inline-flex;align-items:center;gap:6px;color:#6366f1;text-decoration:none;font-size:14px;font-weight:500;margin-bottom:16px}.guest-detail-back:hover{text-decoration:underline}.guest-detail-card{background:#fff;border-radius:20px;padding:24px 20px;box-shadow:0 2px 12px rgba(0,0,0,.04);border:1px solid #e2e8f0}.guest-detail-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:20px;gap:12px}.guest-detail-section{margin-top:20px;padding-top:20px;border-top:1px solid #f1f5f9}.guest-detail-section-title{font-size:14px;font-weight:600;color:#334155;margin:0 0 12px;display:flex;align-items:center;gap:8px}.guest-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}@media (max-width:480px){.guest-detail-grid{grid-template-columns:1fr}}.guest-detail-label{font-size:11px;font-weight:600;text-transform:uppercase;color:#94a3b8;margin-bottom:2px}.guest-detail-value{font-size:14px;font-weight:500;color:#1e293b}.guest-detail-contact{display:flex;gap:10px;margin-top:12px}.guest-detail-contact a{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;background:#f1f5f9;border-radius:10px;font-size:13px;color:#334155;text-decoration:none;font-weight:500;transition:background .2s}.guest-detail-contact a:hover{background:#e2e8f0}.guest-empty{text-align:center;padding:60px 20px}.guest-empty-icon{font-size:48px;margin-bottom:16px}.guest-empty-title{font-size:18px;font-weight:600;color:#334155;margin:0 0 6px}.guest-empty-text{font-size:14px;color:#94a3b8;margin:0}.guest-skeleton{background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:12px}.guest-skeleton-card{height:140px;margin-bottom:12px}.rent-pay-btn{padding:6px 14px;border:none;border-radius:8px;cursor:pointer;font-size:12px;font-weight:600;color:#fff;background:linear-gradient(135deg,#6366f1,#8b5cf6);box-shadow:0 2px 8px rgba(99,102,241,.3);transition:all .2s;white-space:nowrap}.rent-pay-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(99,102,241,.4)}.rent-pay-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.rent-receipt-btn{padding:4px 8px;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;font-size:14px;background:#fff;transition:all .2s}.rent-receipt-btn:hover{background:#f8fafc;border-color:#cbd5e1}.rent-ledger-action{display:flex;gap:6px;align-items:center;justify-content:flex-end}.rent-pay-toast{display:flex;align-items:center;gap:8px;padding:12px 16px;border-radius:12px;margin-bottom:12px;font-size:13px;font-weight:500;animation:slideUp .3s ease}.rent-pay-toast--loading{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}.rent-pay-toast--success{background:#f0fdf4;color:#166534;border:1px solid #bbf7d0}.rent-pay-toast--error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.rent-pay-toast-close{margin-left:auto;border:none;background:none;cursor:pointer;font-size:18px;color:inherit;opacity:.6}.rent-pay-toast-close:hover{opacity:1}.rent-pay-spinner{width:16px;height:16px;border:2px solid #bfdbfe;border-top-color:#1d4ed8;border-radius:50%;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.rent-ledger .rent-ledger-header,.rent-ledger .rent-ledger-row{grid-template-columns:2fr 1.5fr 1.5fr 1fr}.rent-next-due-right{display:flex;align-items:center;gap:12px}@keyframes slideUp{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.animate-slide-up{animation:slideUp .3s ease}@media (max-width:480px){.guest-auth-card{padding:24px 18px;border-radius:20px}.guest-auth-title{font-size:20px}.booking-card{padding:14px}.booking-card-header{flex-direction:column;gap:6px}.booking-card-dates{font-size:13px}.property-badge-name{font-size:14px}.rent-ledger-summary{grid-template-columns:1fr;gap:8px}.rent-summary-card{display:flex;justify-content:space-between;align-items:center;padding:10px 14px}.rent-summary-label{margin-bottom:0}.rent-ledger-header{display:none}.rent-ledger-row{grid-template-columns:1fr;gap:4px;padding:10px 14px}.rent-ledger-amount{font-size:13px}.rent-ledger-status{font-size:11px}.rent-ledger-action{justify-content:flex-start;margin-top:6px}.rent-pay-btn{width:100%;text-align:center;padding:10px;font-size:13px}.guest-detail-card{padding:18px 14px;border-radius:16px}.guest-detail-contact{flex-direction:column}.guest-detail-contact a{justify-content:center}.rent-next-due{flex-direction:column;gap:8px;text-align:center}.rent-next-due-amount{font-size:18px}.rent-next-due-right{flex-direction:column}}@media (min-width:481px) and (max-width:768px){.guest-dashboard{max-width:600px}.rent-summary-amount{font-size:15px}.rent-ledger .rent-ledger-header,.rent-ledger .rent-ledger-row{grid-template-columns:2fr 1fr 1.5fr 1fr}}.guest-navbar-profile-link{color:hsla(0,0%,100%,.9);margin-right:12px;display:flex;align-items:center;transition:color .2s}.guest-navbar-profile-link:hover{color:#fff}.profile-avatar{width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:700;margin:0 auto 12px}.profile-form{gap:12px;margin-top:16px}.profile-field,.profile-form{display:flex;flex-direction:column}.profile-field{gap:6px;flex:1}.profile-field label{font-size:13px;font-weight:500;color:#475569}.profile-field input,.profile-field select,.profile-field textarea{width:100%;padding:10px 14px;border:1px solid #cbd5e1;border-radius:8px;font-size:14px;color:#1e293b;background:#fff;outline:none;transition:border-color .2s,box-shadow .2s}.profile-field input:focus,.profile-field select:focus,.profile-field textarea:focus{border-color:#6366f1;box-shadow:0 0 0 3px rgba(99,102,241,.1)}.profile-field input:disabled,.profile-field select:disabled{background:#f8fafc;color:#94a3b8;cursor:not-allowed;border-color:#e2e8f0}.profile-field-row{display:flex;gap:12px}@media (max-width:480px){.profile-field-row{flex-direction:column;gap:12px}}@supports (padding-bottom:env(safe-area-inset-bottom)){.guest-portal{padding-bottom:env(safe-area-inset-bottom)}}