/* ==================================================
   BLISKA MULTI-SCREEN APP DEMO STYLES
   ================================================== */

/* Main app container */
.bliska-app-demo {
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Screen base */
.bliska-screen {
    flex: 1;
    overflow-y: auto;
    background: #fff;
    transition: opacity 0.2s ease;
}

/* ==================================================
   BOTTOM NAVIGATION
   ================================================== */
.bliska-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    flex-shrink: 0;
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 4px 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    font-size: 10px;
    transition: all 0.2s;
}

.nav-btn svg {
    transition: all 0.2s;
}

.nav-btn.active {
    color: #3b82f6;
}

.nav-btn.nav-add {
    transform: translateY(-12px);
}

.nav-btn.nav-add svg {
    fill: #3b82f6;
}

/* ==================================================
   HOME FEED SCREEN
   ================================================== */
.bliska-home {
    background: #f8f9fa;
}

.bliska-header {
    background: #3b82f6;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.app-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.providing-badge {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 11px;
    color: #fff;
    font-weight: 500;
}

.icon-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.search-bar {
    background: rgba(59, 130, 246, 0.8);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-bar svg {
    color: rgba(255, 255, 255, 0.7);
}

.search-bar input {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.filter-tabs {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: #fff;
    overflow-x: auto;
    border-bottom: 1px solid #e5e5e5;
}

.filter-tab {
    padding: 6px 14px;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    background: #fff;
    font-size: 11px;
    white-space: nowrap;
    cursor: pointer;
}

.filter-tab.active {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
}

.feed-content {
    padding: 12px 16px;
}

.feed-content h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 8px 0;
}

.service-card-small {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    margin-bottom: 16px;
}

.service-card-small img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.location-pin {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-pin svg {
    fill: #fff;
}

.service-price {
    position: absolute;
    bottom: 66px;
    left: 8px;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.service-info-small {
    padding: 12px;
}

.service-title-small {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.service-location {
    font-size: 11px;
    color: #9ca3af;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.category-icon {
    width: 56px;
    height: 56px;
    background: #e0e7ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================================================
   SWIPES SCREEN
   ================================================== */
.bliska-swipes {
    background: #fff;
}

.swipes-header {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #e5e5e5;
}

.back-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.swipes-header h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.swipes-tabs {
    display: flex;
    gap: 0;
    padding: 0 16px;
    border-bottom: 1px solid #e5e5e5;
}

.swipe-tab {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #9ca3af;
    font-size: 13px;
    cursor: pointer;
}

.swipe-tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.swipes-content {
    padding: 16px;
}

.match-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
    align-items: start;
    position: relative;
}

.match-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.match-info {
    flex: 1;
}

.match-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.match-info p {
    font-size: 11px;
    color: #6b7280;
    margin: 2px 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.matched-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    background: #d1fae5;
    color: #10b981;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
}

.match-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.icon-btn-round {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e5e5e5;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.icon-btn-round.green {
    background: #10b981;
    border-color: #10b981;
}

.profile-swipe-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    display: flex;
    gap: 12px;
    align-items: start;
}

.swipe-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.swipe-info {
    flex: 1;
}

.swipe-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.like-badge {
    font-size: 11px;
    color: #10b981;
}

.swipe-description {
    font-size: 12px;
    color: #6b7280;
    margin: 8px 0;
}

.swipe-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.swipe-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.like-btn {
    background: #10b981;
    color: #fff;
}

.pass-btn {
    background: #ef4444;
    color: #fff;
}

/* ==================================================
   PROFILE SCREEN
   ================================================== */
.bliska-profile {
    background: #f8f9fa;
}

.back-btn-abs {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
}

.profile-header {
    background: #fff;
    padding: 48px 16px 16px;
    text-align: center;
    position: relative;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 12px;
}

.online-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #10b981;
    border: 3px solid #fff;
    border-radius: 50%;
    top: 82px;
    left: 50%;
    transform: translateX(35px);
}

.profile-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.profile-rating {
    font-size: 14px;
    color: #6b7280;
}

.profile-tabs {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.profile-tab {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 12px;
    color: #9ca3af;
    cursor: pointer;
}

.profile-tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.profile-content {
    padding: 16px;
}

.profile-content h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 12px 0 8px 0;
}

.about-text {
    background: #f3f4f6;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
}

.profile-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.detail-item {
    display: flex;
    gap: 10px;
    align-items: start;
}

.detail-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon.blue {
    background: #dbeafe;
}

.detail-icon svg {
    fill: #3b82f6;
}

.detail-label {
    font-size: 10px;
    color: #9ca3af;
}

.detail-item strong {
    font-size: 12px;
    color: #1f2937;
}

.contact-buttons {
    display: flex;
    gap: 8px;
}

.contact-btn {
    flex: 1;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.contact-btn.blue {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
}

.contact-btn.green {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
}

.contact-btn.outline {
    background: #fff;
}

/* ==================================================
   MAP SCREEN
   ================================================== */
.bliska-map {
    background: #f8f9fa;
}

.map-header {
    background: #fff;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
}

.map-tabs {
    display: flex;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 2px;
}

.map-tab {
    padding: 6px 16px;
    border: none;
    background: none;
    border-radius: 6px;
    font-size: 12px;
    color: #6b7280;
    cursor: pointer;
}

.map-tab.active {
    background: #10b981;
    color: #fff;
}

.map-filter {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.filter-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.map-container {
    flex: 1;
    position: relative;
}

.map-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 50%, #e0e7ff 100%);
    position: relative;
}

.map-marker {
    position: absolute;
    cursor: pointer;
}

.map-marker img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid #10b981;
    background: #fff;
}

.marker-popup {
    position: absolute;
    bottom: 56px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    font-size: 11px;
}

.marker-popup strong {
    display: block;
    font-size: 12px;
    margin-bottom: 2px;
}

.user-location {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ==================================================
   SERVICE DETAIL SCREEN
   ================================================== */
.bliska-detail {
    background: #fff;
}

.detail-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 12px;
}

.back-btn-white {
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
}

.header-actions {
    display: flex;
    gap: 8px;
}

.icon-btn-white {
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
}

.detail-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.detail-arrows {
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 8px;
}

.arrow-btn {
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.detail-content {
    padding: 16px;
    margin-top: -20px;
    background: #fff;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.provider-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    cursor: pointer;
}

.provider-thumb {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.provider-text {
    flex: 1;
}

.provider-text h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 2px 0;
}

.provider-type {
    font-size: 11px;
    color: #9ca3af;
}

.profile-btn-small {
    padding: 6px 16px;
    border: 1px solid #e5e5e5;
    background: #fff;
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
}

.detail-rating {
    font-size: 14px;
    margin-bottom: 8px;
}

.detail-rating span {
    color: #9ca3af;
    font-size: 12px;
}

.detail-title {
    font-size: 18px;
    font-weight: 700;
    margin: 8px 0;
}

.detail-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 12px;
}

.detail-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 12px;
}

.detail-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.tag {
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tag.blue {
    background: #dbeafe;
    color: #3b82f6;
}

.tag.gray {
    background: #f3f4f6;
    color: #6b7280;
}

.detail-price {
    font-size: 20px;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 16px;
}

.detail-actions {
    display: flex;
    gap: 8px;
}

.apply-btn-large {
    flex: 1;
    padding: 12px;
    background: #4b5563;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.icon-btn-action {
    width: 48px;
    height: 48px;
    background: #f3f4f6;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.icon-btn-action.green {
    background: #10b981;
    color: #fff;
}

.icon-btn-action svg {
    stroke: #6b7280;
}

.icon-btn-action.green svg {
    stroke: #fff;
}