.nddn-stay-root {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
color: #0f172a;
line-height: 1.5;
box-sizing: border-box;
max-width: 1200px;
margin: 20px auto;
}
.nddn-stay-root *, .nddn-stay-root *::before, .nddn-stay-root *::after {
box-sizing: border-box;
}
.nddn-stay-header-box {
background: linear-gradient(135deg, #0f172a 0%, #064e3b 100%);
color: #ffffff;
padding: 24px;
border-radius: 16px;
margin-bottom: 20px;
box-shadow: 0 4px 15px rgba(15, 23, 42, 0.12);
}
.nddn-stay-header-box h2 {
margin: 0 0 8px 0;
font-size: 24px;
font-weight: 800;
color: #ffffff;
}
.nddn-stay-header-box p {
margin: 0;
font-size: 14px;
color: #cbd5e1;
}
.nddn-stay-toolbar {
display: flex;
flex-wrap: wrap;
gap: 12px;
align-items: center;
justify-content: space-between;
background: #ffffff;
border: 1px solid #e2e8f0;
padding: 14px 18px;
border-radius: 12px;
margin-bottom: 20px;
}
.nddn-stay-select, .nddn-stay-input {
padding: 9px 12px;
border: 1px solid #cbd5e1;
border-radius: 8px;
font-size: 14px;
color: #0f172a;
background: #ffffff;
}
.nddn-stay-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 10px 16px;
border-radius: 10px;
font-size: 13px;
font-weight: 700;
cursor: pointer;
border: none;
transition: all 0.2s ease;
text-decoration: none !important;
}
.nddn-stay-btn-primary {
background: #10b981;
color: #022c22 !important;
}
.nddn-stay-btn-primary:hover {
background: #059669;
color: #ffffff !important;
}
.nddn-stay-btn-dark {
background: #0f172a;
color: #ffffff !important;
}
.nddn-stay-btn-dark:hover {
background: #1e293b;
}
.nddn-stay-btn-danger {
background: #e11d48;
color: #ffffff !important;
}
.nddn-stay-btn-outline {
background: #f8fafc;
color: #334155 !important;
border: 1px solid #cbd5e1;
}
.nddn-stay-btn-outline:hover {
background: #e2e8f0;
} .nddn-dir-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
}
.nddn-dir-card {
background: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 16px;
padding: 20px;
display: flex;
flex-direction: column;
justify-content: space-between;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nddn-dir-card:hover {
transform: translateY(-3px);
box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}
.nddn-dir-card.is-vip {
border: 2px solid #f59e0b;
background: linear-gradient(to bottom, #fffbeb 0%, #ffffff 35%);
}
.nddn-dir-card.is-soldout {
opacity: 0.65;
}
.nddn-badge-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
margin-bottom: 12px;
}
.nddn-badge {
display: inline-block;
padding: 4px 10px;
border-radius: 999px;
font-size: 11px;
font-weight: 700;
}
.nddn-badge-vip {
background: #fef3c7;
color: #92400e;
border: 1px solid #f59e0b;
}
.nddn-badge-std {
background: #f1f5f9;
color: #475569;
}
.nddn-badge-avail {
background: #d1fae5;
color: #065f46;
}
.nddn-badge-soldout {
background: #ffe4e6;
color: #9f1239;
}
.nddn-price-highlight {
font-size: 20px;
font-weight: 800;
color: #059669;
} .nddn-kpi-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 12px;
margin-bottom: 20px;
}
.nddn-kpi-box {
padding: 14px;
border-radius: 12px;
border: 1px solid #e2e8f0;
background: #ffffff;
}
.nddn-kpi-box strong {
display: block;
font-size: 22px;
margin-top: 4px;
}
.nddn-rack-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
gap: 16px;
}
.nddn-room-tile {
border-radius: 14px;
padding: 16px;
cursor: pointer;
border: 2px solid transparent;
transition: all 0.2s ease;
}
.nddn-room-tile:hover {
transform: translateY(-2px);
}
.nddn-room-tile.status-clean {
background: #ecfdf5;
border-color: #6ee7b7;
}
.nddn-room-tile.status-occupied {
background: #fff1f2;
border-color: #fda4af;
}
.nddn-room-tile.status-soft_locked {
background: #fffbeb;
border-color: #fbbf24;
}
.nddn-room-tile.status-dirty {
background: #fefce8;
border-color: #fde047;
} .nddn-modal-backdrop {
position: fixed;
inset: 0;
background: rgba(15, 23, 42, 0.65);
z-index: 99999;
display: flex;
align-items: center;
justify-content: center;
padding: 16px;
}
.nddn-modal-card {
background: #ffffff;
border-radius: 16px;
max-width: 500px;
width: 100%;
padding: 24px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
max-height: 90vh;
overflow-y: auto;
}
.nddn-p2p-queue {
background: #fffbeb;
border: 2px solid #f59e0b;
border-radius: 14px;
padding: 16px;
margin-bottom: 20px;
}