/* ==========================================================================
   RentalRoom - CSS Design System
   清潔感のあるビジネスデザイン（整体師・マッサージ師向け）
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables
   -------------------------------------------------------------------------- */
:root {
    /* Colors */
    --color-primary: #008080;
    --color-primary-dark: #006666;
    --color-primary-light: #00a0a0;
    --color-secondary: #4a5568;
    --color-success: #38a169;
    --color-warning: #d69e2e;
    --color-danger: #e53e3e;

    --color-bg: #f7fafc;
    --color-bg-card: #ffffff;
    --color-border: #e2e8f0;
    --color-text: #2d3748;
    --color-text-light: #718096;
    --color-text-muted: #a0aec0;

    /* Timeline colors */
    --color-block-unavailable: #cbd5e0;
    --color-block-reserved: #4299e1;
    --color-block-selected: var(--color-primary);

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;

    /* Layout */
    --max-width: 1200px;
    --max-width-content: 800px;
    --header-height: 60px;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-md);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    min-height: 100vh;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
    position: sticky;
    top: 0;
    background: var(--color-bg-card);
    border-bottom: 1px solid var(--color-border);
    height: var(--header-height);
    z-index: 100;
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-primary);
}

.logo:hover {
    text-decoration: none;
}

.nav-desktop {
    display: none;
}

.nav-desktop a {
    margin-left: var(--spacing-lg);
    color: var(--color-text);
    font-weight: 500;
}

.nav-desktop a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
        align-items: center;
    }

    .hamburger {
        display: none !important;
    }
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-bg-card);
    border-bottom: 1px solid var(--color-border);
    padding: var(--spacing-md);
    z-index: 999;
}

.nav-mobile.open {
    display: block;
}

.nav-mobile a {
    display: block;
    padding: var(--spacing-sm) 0;
    color: var(--color-text);
    font-weight: 500;
}

@media (min-width: 768px) {
    .nav-mobile {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   Main Content
   -------------------------------------------------------------------------- */
.main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
    min-height: calc(100vh - var(--header-height) - 80px);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--color-bg-card);
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-lg);
    text-align: center;
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.card-header {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
}

.card-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-md);
    font-weight: 500;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
}

.btn-secondary {
    background: var(--color-secondary);
    color: white;
}

.btn-danger {
    background: var(--color-danger);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-lg);
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--color-text);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg-card);
    transition: border-color 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}

.form-error {
    color: var(--color-danger);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-xs);
}

/* --------------------------------------------------------------------------
   Alerts / Notices
   -------------------------------------------------------------------------- */
.alert {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.alert-warning {
    background: #fffbeb;
    border: 1px solid #fbbf24;
    color: #92400e;
}

.alert-info {
    background: #eff6ff;
    border: 1px solid #3b82f6;
    color: #1e40af;
}

.alert-success {
    background: #f0fdf4;
    border: 1px solid #22c55e;
    color: #166534;
}

.alert-danger {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.alert-title {
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.alert ul {
    margin: 0;
    padding-left: var(--spacing-lg);
}

.alert li {
    margin-bottom: var(--spacing-xs);
}

/* --------------------------------------------------------------------------
   Room Card
   -------------------------------------------------------------------------- */
.room-card {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-md);
}

.room-card-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.room-card-content {
    flex: 1;
}

.room-card-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.room-card-price {
    color: var(--color-primary);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Calendar
   -------------------------------------------------------------------------- */
.calendar {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.calendar-title {
    font-weight: 700;
}

.calendar-nav {
    display: flex;
    gap: var(--spacing-sm);
}

.calendar-nav button {
    background: none;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    cursor: pointer;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
}

.calendar-weekday {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    padding: var(--spacing-xs);
}

.calendar-day {
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-day:hover {
    background: var(--color-bg);
}

.calendar-day.selected {
    background: var(--color-primary);
    color: white;
}

.calendar-day.unavailable {
    background: var(--color-block-unavailable);
    color: var(--color-text-muted);
    cursor: not-allowed;
}

.calendar-day.other-month {
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Timeline
   -------------------------------------------------------------------------- */
.timeline {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    max-height: 400px;
    overflow-y: auto;
}

.timeline-row {
    display: flex;
    align-items: stretch;
    min-height: 40px;
    border-bottom: 1px solid var(--color-border);
}

.timeline-time {
    width: 60px;
    flex-shrink: 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    padding: var(--spacing-xs);
    text-align: right;
    padding-right: var(--spacing-sm);
}

.timeline-slot {
    flex: 1;
    margin: 2px 0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.timeline-slot.available {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
}

.timeline-slot.available:hover {
    background: rgba(0, 128, 128, 0.1);
    border-color: var(--color-primary);
}

.timeline-slot.selected {
    background: var(--color-block-selected);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.timeline-slot.reserved {
    background: var(--color-block-reserved);
    color: white;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
}

.timeline-slot.reserved.mine {
    background: #2196F3;
}

.timeline-slot.blocked {
    background: var(--color-block-unavailable);
    color: var(--color-text-muted);
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
}

/* --------------------------------------------------------------------------
   Summary
   -------------------------------------------------------------------------- */
.summary {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-xs);
}

.summary-total {
    font-size: var(--font-size-lg);
    font-weight: 700;
    border-top: 1px solid var(--color-border);
    padding-top: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

/* --------------------------------------------------------------------------
   Two-Column Layout (Desktop)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
    .layout-two-col {
        display: grid;
        grid-template-columns: 1fr 400px;
        gap: var(--spacing-xl);
    }

    .layout-sidebar {
        position: sticky;
        top: calc(var(--header-height) + var(--spacing-lg));
        height: fit-content;
    }
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-muted {
    color: var(--color-text-light);
}

.text-primary {
    color: var(--color-primary);
}

.text-danger {
    color: var(--color-danger);
}

.text-success {
    color: var(--color-success);
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.mt-sm {
    margin-top: var(--spacing-sm);
}

.mt-md {
    margin-top: var(--spacing-md);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.flex {
    display: flex;
}

.flex-between {
    justify-content: space-between;
}

.flex-center {
    align-items: center;
}

.gap-sm {
    gap: var(--spacing-sm);
}

.gap-md {
    gap: var(--spacing-md);
}

/* --------------------------------------------------------------------------
   Badge
   -------------------------------------------------------------------------- */
.badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-xs);
    font-weight: 500;
    border-radius: var(--radius-full);
    min-width: 60px;
    text-align: center;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

.badge-info {
    background: #dbeafe;
    color: #1e40af;
}

/* --------------------------------------------------------------------------
   Table
   -------------------------------------------------------------------------- */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.table th {
    background: var(--color-bg);
    font-weight: 500;
}

.table tbody tr:hover {
    background: var(--color-bg);
}

/* --------------------------------------------------------------------------
   Responsive Table
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .table-responsive {
        overflow-x: auto;
    }
}

/* --------------------------------------------------------------------------
   Hero Section (Top Page)
   -------------------------------------------------------------------------- */
.hero-section {
    padding: var(--spacing-2xl) 0;
}

.hero-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   Notice Box
   -------------------------------------------------------------------------- */
.notice-box {
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    padding: var(--spacing-md) var(--spacing-lg);
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-warning);
}

.notice-title {
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.notice-list {
    margin-left: var(--spacing-lg);
    font-size: var(--font-size-sm);
}

.notice-list li {
    margin-bottom: var(--spacing-xs);
}

/* --------------------------------------------------------------------------
   Room Section & Grid
   -------------------------------------------------------------------------- */
.room-section {
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
}

.room-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.room-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.room-detail-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    border-radius: var(--radius-lg);
}

.room-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.room-placeholder::after {
    content: '🏠';
    font-size: 6rem;
    opacity: 0.15;
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    transform: rotate(-15deg);
}

.room-card-body {
    padding: var(--spacing-md);
}

.room-card-name {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.room-card-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

.room-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.room-card-price {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-primary);
}

.room-card-price small {
    font-size: var(--font-size-sm);
    font-weight: 400;
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xl);
    border-top: 1px solid var(--color-border);
}

.cta-text {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Stats Grid (Dashboard)
   -------------------------------------------------------------------------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
}

.stat-card {
    display: block;
    background: var(--color-bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    text-align: center;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--color-border);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xs);
}

.stat-value {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Page Header
   -------------------------------------------------------------------------- */
.page-header {
    margin-bottom: var(--spacing-lg);
}

.page-header h1 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-top: var(--spacing-sm);
}

/* --------------------------------------------------------------------------
   Room List (Admin)
   -------------------------------------------------------------------------- */
.room-list {
    border-top: 1px solid var(--color-border);
}

.room-list-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
    align-items: center;
}

.room-list-image {
    width: 100px;
    height: 70px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.room-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-list-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.room-list-content {
    flex: 1;
    min-width: 0;
}

.room-list-title {
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.room-list-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xs);
}

.room-list-price {
    font-weight: 600;
    color: var(--color-primary);
}

.room-list-actions {
    display: flex;
    gap: var(--spacing-xs);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .room-list-item {
        flex-wrap: wrap;
    }

    .room-list-image {
        width: 80px;
        height: 55px;
    }

    .room-list-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* --------------------------------------------------------------------------
   Room Detail Page
   -------------------------------------------------------------------------- */
.room-detail {
    max-width: 800px;
}

.room-detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
}

.room-detail-image img {
    width: 100%;
    height: auto;
}

.room-detail-grid {
    padding: var(--spacing-md);
}

.detail-row {
    display: flex;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--color-border);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    width: 120px;
    flex-shrink: 0;
    color: var(--color-text-light);
    font-weight: 500;
}

.detail-value {
    flex: 1;
}

.detail-value.price {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Max Width Containers
   -------------------------------------------------------------------------- */
.max-width-sm {
    max-width: 500px;
}

.max-width-md {
    max-width: 700px;
}

/* --------------------------------------------------------------------------
   Two Column Layout
   -------------------------------------------------------------------------- */
.layout-two-col {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--spacing-lg);
}

@media (max-width: 900px) {
    .layout-two-col {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   User/Owner List
   -------------------------------------------------------------------------- */
.user-list {
    border-top: 1px solid var(--color-border);
}

.user-list-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
    align-items: center;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

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

.user-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.user-email {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

.user-actions {
    display: flex;
    gap: var(--spacing-xs);
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Padding Utilities
   -------------------------------------------------------------------------- */
.p-lg {
    padding: var(--spacing-lg);
}

/* --------------------------------------------------------------------------
   Modal
   -------------------------------------------------------------------------- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: var(--spacing-md);
}

.modal-content {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    max-width: 400px;
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    margin-bottom: var(--spacing-md);
}

.modal-header h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Small Button
   -------------------------------------------------------------------------- */
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: var(--font-size-xs);
}

/* --------------------------------------------------------------------------
   Danger Button
   -------------------------------------------------------------------------- */
.btn-danger {
    background: var(--color-danger);
    color: white;
}

.btn-danger:hover {
    background: #c53030;
}

/* --------------------------------------------------------------------------
   Success Button
   -------------------------------------------------------------------------- */
.btn-success {
    background: var(--color-success);
    color: white;
}

.btn-success:hover {
    background: #2f855a;
}

/* --------------------------------------------------------------------------
   Text Utilities
   -------------------------------------------------------------------------- */
.text-sm {
    font-size: var(--font-size-sm);
}

.text-danger {
    color: var(--color-danger);
}

/* --------------------------------------------------------------------------
   Badge Info
   -------------------------------------------------------------------------- */
.badge-info {
    background: #dbeafe;
    color: #1e40af;
}