:root {
    /* Brand colors based on PRD */
    --primary-color: #0B4F6C;
    --secondary-color: #01BAEF;
    --accent-color: #FF8C42;
    --background-color: #F5F7FA;
    --text-color: #2D3E50;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Phone frame styling */
.phone-frame {
    width: 375px;
    height: 812px;
    background-color: white;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    border: 10px solid #333;
}

/* iOS Status bar */
.status-bar {
    height: 44px;
    background-color: #000;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    align-items: center;
    color: white;
    font-size: 0.75rem;
}

.status-bar::before {
    content: "9:41";
    font-weight: 600;
}

.status-bar::after {
    content: "";
    display: inline-block;
    width: 80px;
    text-align: right;
}

/* Status indicators that appear on all screens */
.status-bar::after {
    content: "100% \f236"; /* Battery icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

iframe {
    width: 100%;
    height: calc(100% - 44px); /* Subtract status bar height */
    border: none;
}

.prototype-container {
    margin-bottom: 2rem;
}

/* Custom button styles */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0A3F58;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-accent {
    background-color: var(--accent-color);
    color: white;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Card styles */
.app-card {
    background-color: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Hotel card styles */
.hotel-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hotel-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.hotel-card .content {
    padding: 12px;
}

.hotel-card .rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 12px;
    padding: 4px 8px;
    font-size: 0.875rem;
    font-weight: bold;
}

/* Navigation bar */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-color);
    opacity: 0.6;
}

.nav-item.active {
    color: var(--primary-color);
    opacity: 1;
}

.nav-item i {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.nav-item span {
    font-size: 0.65rem;
}

/* Typography styles following PRD */
.heading-lg {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
}

.heading-md {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
}

.heading-sm {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.text-body {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-color);
}

.text-small {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color);
}

.text-xs {
    font-size: 12px;
    color: #666;
}

/* Form controls */
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(1, 186, 239, 0.2);
}

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

/* Badges and status indicators */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

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

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

.badge-accent {
    background-color: var(--accent-color);
    color: white;
}

.badge-success {
    background-color: var(--success-color);
    color: white;
}

.badge-warning {
    background-color: var(--warning-color);
    color: white;
}

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

/* App-specific components */
.search-bar {
    background-color: white;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.search-bar input {
    border: none;
    flex: 1;
    margin-left: 12px;
}

.search-bar input:focus {
    outline: none;
}

/* Horizontal scrolling sections */
.scroll-x {
    display: flex;
    overflow-x: auto;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.scroll-x::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.scroll-item {
    flex: 0 0 auto;
    margin-right: 16px;
}

/* Container padding */
.app-container {
    padding: 16px;
}

/* Common screen padding to account for bottom navigation */
.screen-padding-bottom {
    padding-bottom: 80px;
}