/* OHF Mobile App V2 - Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --primary: #d4af37;
    --primary-light: #f4d03f;
    --primary-dark: #b8941f;
    --primary-gradient: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    --bg: #fafafa;
    --bg-gradient: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    --card-bg: #ffffff;
    --text: #1a1a1a;
    --text-light: #666;
    --text-lighter: #999;
    --border: #e8e8e8;
    --border-light: #f0f0f0;
    --success: #4caf50;
    --success-light: #81c784;
    --danger: #f44336;
    --danger-light: #e57373;
    --accent-blue: #2196f3;
    --accent-purple: #9c27b0;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-xl: 0 12px 32px rgba(0,0,0,0.15);
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-gradient);
    color: var(--text);
    overflow-x: hidden;
    position: fixed;
    width: 100%;
    height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.app-container {
    width: 100%;
    height: 100vh;
    max-width: 428px;
    margin: 0 auto;
    background: var(--bg-gradient);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Logo Styles */
.ohf-logo {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.ohf-logo-small {
    width: 40px;
    height: 40px;
}

.ohf-logo-medium {
    width: 60px;
    height: 60px;
}

.ohf-logo-large {
    width: 100px;
    height: 100px;
}

.ohf-logo-xl {
    width: 150px;
    height: 150px;
    max-width: 40vw;
    max-height: 40vw;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.logo-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Language Selector */
.lang-selector {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 1000;
    max-width: 100px;
}

#main-app .lang-selector {
    display: none;
}

.lang-select {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--card-bg);
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

/* Pages */
.page {
    display: none !important;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.page.active {
    display: block !important;
}

#login-page.active {
    display: flex !important;
}

#profile-page.active {
    display: block !important;
}

#intro-page.active {
    display: flex !important;
    flex-direction: column;
}

/* Intro Page */
#intro-page {
    background: var(--bg-gradient);
    color: var(--text);
    position: relative;
    overflow-y: auto;
}

.intro-hero {
    position: relative;
    min-height: 45vh;
    max-height: 50vh;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 50%, #ffffff 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    border-bottom: 1px solid var(--border-light);
}

.intro-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
}

.intro-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
}

.intro-logo {
    margin-bottom: 20px;
    animation: fadeInScale 0.8s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-logo img {
    display: block;
    width: 150px;
    height: 150px;
    max-width: 40vw;
    max-height: 40vw;
    object-fit: contain;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.intro-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 8vw, 48px);
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.1;
}

.intro-title span {
    color: var(--primary);
}

.intro-subtitle {
    font-size: 18px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    font-size: 14px;
    color: var(--primary-dark);
    font-weight: 500;
}

.intro-content-scrollable {
    padding: 32px 20px;
    background: var(--bg);
    color: var(--text);
    min-height: 50vh;
}

.intro-section {
    margin-bottom: 32px;
}

.intro-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

.intro-section p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 16px;
}

.ai-highlight {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid var(--accent-blue);
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
    display: flex;
    gap: 16px;
    box-shadow: var(--shadow);
}

.ai-icon {
    font-size: 32px;
    color: #2196f3;
}

.ai-highlight h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1565c0;
}

.ai-highlight p {
    font-size: 14px;
    color: #1976d2;
    margin: 0;
}

.intro-features {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.feature-card {
    flex: 1;
    background: linear-gradient(135deg, var(--card-bg) 0%, #fafafa 100%);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:active {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

/* Buttons */
.btn-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-large {
    width: 100%;
    padding: 16px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

/* Login Page */
#login-page {
    background: var(--primary-gradient);
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

#login-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.login-logo-container {
    text-align: center;
    margin-bottom: 24px;
}

.login-container {
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 10;
}

.login-header {
    text-align: center;
    color: white;
    margin-bottom: 32px;
}

.login-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.login-header p {
    font-size: 16px;
    opacity: 0.9;
}

.login-form {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
}

.login-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-light);
}

.login-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

/* Profile Page */
#profile-page {
    background: var(--bg);
}

.profile-header {
    background: var(--primary-gradient);
    padding: 40px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.profile-logo-container {
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 16px;
    border: 4px solid rgba(255,255,255,0.5);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.profile-header h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.profile-roles {
    font-size: 14px;
    opacity: 0.9;
}

.profile-content {
    padding: 24px 20px;
}

.profile-section {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}

.profile-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-light);
}

.info-item i {
    color: var(--primary);
    width: 20px;
}

.profile-description {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 8px;
}

/* Main App Wrapper */
.app-wrapper {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-gradient);
}

.app-header {
    background: linear-gradient(135deg, var(--card-bg) 0%, #fafafa 100%);
    padding: 12px 16px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
}

.app-header .logo-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-header h1 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-header h1 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-icon {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text);
    cursor: pointer;
    padding: 4px;
}

.app-content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.page {
    padding-bottom: 80px;
}

.profile-header-mini {
    background: var(--card-bg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.profile-avatar-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.profile-name-small {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.profile-role-small {
    font-size: 14px;
    color: var(--text-light);
}

.mode-selector {
    display: flex;
    gap: 12px;
    padding: 0 20px 16px;
}

.mode-btn {
    flex: 1;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--card-bg);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.mode-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.mode-btn-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.mode-btn-desc {
    font-size: 12px;
    opacity: 0.8;
}

.card {
    background: linear-gradient(135deg, var(--card-bg) 0%, #fafafa 100%);
    border-radius: 16px;
    padding: 20px;
    margin: 0 20px 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.card h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.ai-match-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(33, 150, 243, 0.1);
    border-radius: 20px;
    font-size: 12px;
    color: #2196f3;
    margin-top: 12px;
}

.ai-match-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 8px;
}

.swipe-header {
    padding: 20px;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
}

.swipe-header h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.swipe-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 220px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.swipe-card {
    position: absolute;
    width: calc(100% - 32px);
    max-width: 360px;
    background: var(--card-bg);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    padding: 24px;
    transform-origin: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: grab;
    user-select: none;
}

.swipe-card.dragging {
    cursor: grabbing;
    transition: none;
}

.swipe-card.swiped-left {
    transform: translateX(-500px) rotate(-30deg);
    opacity: 0;
}

.swipe-card.swiped-right {
    transform: translateX(500px) rotate(30deg);
    opacity: 0;
}

.request-category {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 16px;
}

.request-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.request-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.request-meta {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-light);
}

.meta-item i {
    color: var(--primary);
}

.swipe-actions {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 24px;
    z-index: 50;
}

.action-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: transform 0.2s;
}

.action-btn:active {
    transform: scale(0.9);
}

.btn-pass {
    background: white;
    color: var(--text-light);
}

.btn-help {
    background: var(--success);
    color: white;
}

.empty-state {
    text-align: center;
    padding: 60px 32px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 64px;
    color: var(--border);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text);
}

.radar-container {
    height: 300px;
    margin: 16px;
}

.radar-map {
    width: 100%;
    height: 100%;
    background: #e8f5e9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.timezone-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 8px;
}

.timezone-info i {
    color: var(--primary);
}

.filter-group {
    margin-bottom: 16px;
}

.filter-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.filter-select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card-bg);
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

.radar-list {
    padding: 16px;
}

.list-item {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-item-content {
    flex: 1;
}

.list-item-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.list-item-subtitle {
    font-size: 14px;
    color: var(--text-light);
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-top: 8px;
}

.badge-pending {
    background: #fff3cd;
    color: #856404;
}

.badge-active {
    background: #d4edda;
    color: #155724;
}

.setting-item {
    margin-bottom: 24px;
}

.setting-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.setting-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--primary);
}

input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 428px;
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    z-index: 100;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    color: var(--text-light);
    font-size: 12px;
    transition: color 0.2s;
    cursor: pointer;
}

.nav-item i {
    font-size: 22px;
    margin-bottom: 2px;
}

.nav-item.active {
    color: var(--primary);
}

/* Notification Badge */
.notification-btn {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger);
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
}

/* Notifications Page */
.notifications-list {
    padding: 0 20px 20px;
}

.notification-item {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.2s;
}

.notification-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px);
}

.notification-item.unread {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, var(--card-bg) 100%);
    border-left: 3px solid var(--primary);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--text);
}

.notification-message {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.notification-time {
    font-size: 12px;
    color: var(--text-lighter);
}

.notification-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    margin-top: 6px;
}

/* Clans Page */
.clans-list {
    padding: 0 20px 20px;
}

.clan-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.clan-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.clan-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
}

.clan-info {
    flex: 1;
}

.clan-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.clan-meta {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.clan-description {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.5;
}

.clan-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-lighter);
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
}

/* Chat Page */
.chat-header {
    background: var(--card-bg);
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 10;
}

.chat-header h2 {
    font-size: 20px;
    margin-bottom: 12px;
}

.clan-selector {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    display: flex;
    flex-direction: column;
    max-width: 75%;
}

.chat-message.own {
    align-self: flex-end;
    align-items: flex-end;
}

.chat-sender {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
    font-weight: 500;
}

.chat-bubble {
    background: var(--card-bg);
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: var(--shadow);
    word-wrap: break-word;
}

.chat-message.own .chat-bubble {
    background: var(--primary-gradient);
    color: white;
}

.chat-time {
    font-size: 11px;
    color: var(--text-lighter);
    margin-top: 4px;
}

.chat-input-container {
    display: flex;
    gap: 8px;
    padding: 12px 20px;
    background: var(--card-bg);
    border-top: 1px solid var(--border-light);
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.chat-input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 24px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

/* Location Page */
.location-map {
    height: 250px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--text-light);
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.location-info .info-item {
    padding: 12px;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 64px;
    color: var(--text-lighter);
    margin-bottom: 16px;
    display: block;
}

.empty-state p {
    font-size: 16px;
    margin-top: 8px;
}
