/* ═══════════════════════════════════════════════════════
   مجسم الموبايل — Servix Phone Mockup
   Scoped تحت .servix-phone-wrapper عشان ما يتعارضش مع style.css
   ═══════════════════════════════════════════════════════ */

/* ===== حاوية الموبايل — يمين الـhero، متمركز رأسياً بين الهيدر والـmarquee ===== */
.servix-phone-wrapper {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(calc(-50% - 2vh));
    width: 260px;
    height: 530px;
    z-index: 20;
    pointer-events: auto;
}

.servix-phone-wrapper .phone-vertical-container {
    width: 260px;
    height: 530px;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
}

.servix-phone-wrapper .phone-vertical-container:hover {
    transform: scale(1.02);
}

.servix-phone-wrapper .phone-vertical-frame {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #3a3a3a 0%, #1a1a1a 100%);
    border-radius: 48px;
    /* الظل الخارجي بس — مفيش inset shadows (اللي كانوا بيدوا إحساس الكارت الرمادي) */
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    z-index: 2;
    overflow: hidden;
}

.servix-phone-wrapper .metal-rim {
    /* متعطل — الشاشة بقت متماسكة على الإطار مباشرة */
    display: none;
}

/* ===== Dynamic Island — زي الأيفون الحقيقي، نوتش أسود نقي ===== */
.servix-phone-wrapper .dynamic-island {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    border-radius: 999px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    /* مفيش حدود ولا ظلال داخلية — نوتش نقي أسود */
    box-shadow: none;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.servix-phone-wrapper .dynamic-island.normal {
    width: 100px;
    height: 28px;
}

.servix-phone-wrapper .dynamic-island.medium {
    width: 200px;
    height: 40px;
    background: linear-gradient(135deg, #1a1a1a, #000);
}

.servix-phone-wrapper .dynamic-island.expanded {
    width: 238px;
    height: 58px;
    background: #000;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.servix-phone-wrapper .island-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 0 15px;
    color: white;
}

.servix-phone-wrapper .island-camera {
    width: 10px;
    height: 10px;
    background: radial-gradient(circle at 30% 30%, #1a1a1a, #050505);
    border-radius: 50%;
    border: 1px solid #1a1a1a;
    /* حلقة باهتة حوالين الكاميرا — زي الأيفون */
    box-shadow: 0 0 0 1px rgba(60, 60, 60, 0.4);
}

/* ===== أزرار جانبية ===== */
.servix-phone-wrapper .side-button {
    position: absolute;
    background: linear-gradient(to right, #4a4a4a, #2a2a2a, #4a4a4a);
    z-index: 2;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.servix-phone-wrapper .power-btn {
    right: -3px;
    top: 140px;
    width: 3px;
    height: 55px;
}

.servix-phone-wrapper .volume-up {
    left: -3px;
    top: 150px;
    width: 3px;
    height: 45px;
}

.servix-phone-wrapper .volume-down {
    left: -3px;
    top: 205px;
    width: 3px;
    height: 45px;
}

.servix-phone-wrapper .silent-switch {
    left: -3px;
    top: 110px;
    width: 3px;
    height: 25px;
    background: #f5a623;
}

/* ===== شاشة الموبايل — سوداء نقي، بدون أي ظل داخلي ===== */
.servix-phone-wrapper .phone-screen {
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    background: #000;
    border-radius: 44px;
    overflow: hidden;
    z-index: 3;
    box-shadow: none;
}

/* ===== شاشة القفل ===== */
.servix-phone-wrapper .lock-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    overflow: hidden;
    transition: transform 0.5s ease, opacity 0.3s ease;
    z-index: 5;
}

.servix-phone-wrapper .lock-screen.active {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.servix-phone-wrapper .lock-screen.default-bg {
    background: linear-gradient(rgba(10, 10, 15, 0.65), rgba(10, 10, 15, 0.65)), #000 url('../images/phone_software_bg.png') center center / cover no-repeat;
}

.servix-phone-wrapper .lock-screen .status-bar {
    position: relative;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 22px 12px;
    font-size: 0.95rem;
    color: #ffffff;
    z-index: 15;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
    font-weight: 600;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: none !important;
    height: auto !important;
    flex-direction: row !important;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif !important;
    letter-spacing: -0.2px;
}

.servix-phone-wrapper .lock-screen .status-bar .status-icons-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.servix-phone-wrapper .lock-screen .status-bar .status-icons-left,
.servix-phone-wrapper .home-screen .status-bar .status-icons-left,
.servix-phone-wrapper .lock-screen .status-bar .status-icons-right,
.servix-phone-wrapper .home-screen .status-bar .status-icons-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.servix-phone-wrapper .lock-screen .status-bar > #phoneStatusTime {
    display: none;
}

.servix-phone-wrapper .lock-screen .status-bar i {
    font-size: 0.85rem;
    line-height: 1;
    vertical-align: middle;
    color: #ffffff;
}

/* ===== أيقونات الـstatus bar زي iOS الحقيقي ===== */
.servix-phone-wrapper .status-icons {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 12px;
}

.servix-phone-wrapper .status-icons-left {
    display: flex;
    align-items: center;
    height: 12px;
}

.servix-phone-wrapper .status-icon-signal {
    width: 17px;
    height: 11px;
    display: block;
}

.servix-phone-wrapper .status-icon-wifi {
    width: 18px;
    height: 13px;
    display: block;
}

.servix-phone-wrapper .status-icon-battery {
    width: 26px;
    height: 12px;
    display: block;
}

/* ===== شاشة التطبيقات (Home Screen) — نفس لون شاشة القفل لتكامل الشاشة ===== */
.servix-phone-wrapper .home-screen {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    transition: top 0.5s ease;
    display: flex;
    flex-direction: column;
    z-index: 10;
    overflow: hidden;
    justify-content: flex-start;
}

.servix-phone-wrapper .home-screen.active {
    top: 0;
}

.servix-phone-wrapper .home-screen .status-bar {
    position: relative;
    top: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 14px 22px 12px;
    font-size: 0.95rem;
    color: #ffffff;
    z-index: 15;
    flex-shrink: 0;
    font-weight: 600;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: none !important;
    height: auto !important;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif !important;
    letter-spacing: -0.2px;
    width: 100%;
    box-sizing: border-box;
}

.servix-phone-wrapper .home-screen .status-bar > .status-icon-battery {
    order: 1;
    flex-shrink: 0;
}

.servix-phone-wrapper .home-screen .status-bar > #homeTime {
    order: 3;
    flex: 1;
    text-align: right;
    font-size: 1rem;
    font-weight: 600;
    font-feature-settings: 'tnum';
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.3px;
}

.servix-phone-wrapper .home-screen .status-bar i {
    font-size: 0.85rem;
    line-height: 1;
    vertical-align: middle;
    color: #ffffff;
}

/* ===== شبكة التطبيقات — كبيرة ومليانة الشاشة ===== */
.servix-phone-wrapper .app-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 10px;
    padding: 10px 14px 100px;
    overflow: hidden;
    z-index: 15;
}

.servix-phone-wrapper .app-icon {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px 4px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
}

.servix-phone-wrapper .app-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.servix-phone-wrapper .app-icon i {
    font-size: 1.9rem;
    margin-bottom: 6px;
    flex-shrink: 0;
    line-height: 1;
}

.servix-phone-wrapper .app-name {
    display: none;
}

/* ألوان التطبيقات */
.servix-phone-wrapper .app-icon[data-app="telegram"] i { color: #0088cc; }
.servix-phone-wrapper .app-icon[data-app="whatsapp"] i { color: #25D366; }
.servix-phone-wrapper .app-icon[data-app="youtube"] i { color: #FF0000; }
.servix-phone-wrapper .app-icon[data-app="facebook"] i { color: #1877F2; }
.servix-phone-wrapper .app-icon[data-app="instagram"] i { color: #E4405F; }
.servix-phone-wrapper .app-icon[data-app="camera"] i { color: #FF6B35; }
.servix-phone-wrapper .app-icon[data-app="photos"] i { color: #9C27B0; }
.servix-phone-wrapper .app-icon[data-app="files"] i { color: #4A6CF7; }
.servix-phone-wrapper .app-icon[data-app="myaccount"] i { color: #00b4ff; }
.servix-phone-wrapper .app-icon[data-app="pay"] i { color: #FFD700; }
.servix-phone-wrapper .app-icon[data-app="requests"] i { color: #26de81; }
.servix-phone-wrapper .app-icon[data-app="shop"] i { color: #ff6b35; }
.servix-phone-wrapper .app-icon[data-app="phone"] i { color: #2ecc71; }
.servix-phone-wrapper .app-icon[data-app="wallet"] i { color: #FFD700; }
.servix-phone-wrapper .app-icon[data-app="mail"] i { color: #00b4ff; }
.servix-phone-wrapper .app-icon[data-app="ai"] i { color: #ffb347; }
.servix-phone-wrapper .app-icon[data-app="settings"] i { color: #888; }

/* ===== الدوك ===== */
/* ===== الدوك — باين بس في شاشة التطبيقات ===== */
.servix-phone-wrapper .home-screen:not(.active) .dock {
    display: none !important;
}

.servix-phone-wrapper .home-screen.active .dock {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    border-radius: 0;
    padding: 12px;
    display: flex;
    justify-content: space-around;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: none;
    border-left: none;
    border-right: none;
    z-index: 15;
}

.servix-phone-wrapper .dock .app-icon {
    padding: 8px 4px;
    background: transparent;
    width: 60px;
    height: 60px;
    border: none;
}

.servix-phone-wrapper .dock .app-icon i {
    font-size: 1.7rem;
    margin-bottom: 0;
}

/* ===== الوقت والتاريخ (في شاشة التطبيقات بس) ===== */
.servix-phone-wrapper .home-screen .time-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 8px 15px 12px;
    box-sizing: border-box;
    z-index: 5;
    flex-shrink: 0;
}

.servix-phone-wrapper .big-time {
    font-size: 4.5rem;
    font-weight: 300;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    z-index: 5;
    position: relative;
    letter-spacing: -2px;
    text-align: center;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.servix-phone-wrapper .big-date {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 6px;
    margin-left: 0;
    z-index: 5;
    position: relative;
    text-align: center;
    line-height: 1.4;
    letter-spacing: 0.5px;
    font-weight: 400;
}

/* ===== الساعة والتاريخ في شاشة القفل ===== */
.servix-phone-wrapper .lock-time-date {
    position: absolute;
    top: 14%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
    width: 100%;
}

.servix-phone-wrapper .unlock-indicator {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: 12px 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 0.9rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 5;
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s;
    cursor: pointer;
    white-space: nowrap;
}

.servix-phone-wrapper .unlock-indicator:hover {
    background: rgba(0, 180, 255, 0.2);
    border-color: #00b4ff;
}

.servix-phone-wrapper .unlock-indicator i {
    font-size: 1rem;
    color: #8fc8e0;
}

/* ===== خلفية اسم المستخدم ===== */
.servix-phone-wrapper .username-wallpaper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.servix-phone-wrapper .username-item {
    position: absolute;
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-weight: 700;
    color: #ffd700;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0.2;
    font-size: 1.4rem;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgb(255, 217, 0);
    animation: servix-username-float 20s linear infinite;
}

.servix-phone-wrapper .username-item:nth-child(odd) {
    color: #00b4ff;
    opacity: 0.15;
    font-size: 1.2rem;
    animation-duration: 25s;
    animation-direction: reverse;
}

.servix-phone-wrapper .username-item:nth-child(3n) {
    color: #aa00ff;
    opacity: 0.1;
    font-size: 1.6rem;
    animation-duration: 30s;
}

@keyframes servix-username-float {
    0% {
        transform: translateX(-10%) translateY(0) rotate(0deg);
    }
    25% {
        transform: translateX(5%) translateY(-5%) rotate(2deg);
    }
    50% {
        transform: translateX(10%) translateY(0) rotate(0deg);
    }
    75% {
        transform: translateX(5%) translateY(5%) rotate(-2deg);
    }
    100% {
        transform: translateX(-10%) translateY(0) rotate(0deg);
    }
}

/* ===== Full-Screen Laser Scan ===== */
.servix-phone-wrapper .fullscreen-laser-scan {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

.servix-phone-wrapper .laser-scan-beam {
    position: absolute;
    top: 0;
    right: 100%;
    width: 4px;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        #ff0000 15%,
        #ff3333 50%,
        #ff0000 85%,
        transparent 100%);
    box-shadow:
        0 0 15px #ff0000,
        0 0 30px rgba(255, 0, 0, 0.9),
        0 0 50px rgba(255, 0, 0, 0.6),
        inset 0 0 8px rgba(255, 255, 255, 0.4);
    filter: blur(1.5px);
}

.servix-phone-wrapper .fullscreen-laser-scan.active {
    opacity: 1;
    visibility: visible;
}

.servix-phone-wrapper .fullscreen-laser-scan.active .laser-scan-beam {
    animation: servix-fullscreen-laser 1.2s ease-in-out forwards;
}

@keyframes servix-fullscreen-laser {
    0% {
        right: 100%;
    }
    100% {
        right: -100%;
    }
}

/* ===== التطبيقات (Mail, Wallet, Files, Settings, AI) ===== */
.servix-phone-wrapper .mail-app,
.servix-phone-wrapper .wallet-app,
.servix-phone-wrapper .files-app,
.servix-phone-wrapper .mobile-settings,
.servix-phone-wrapper .mobile-ai-assistant,
.servix-phone-wrapper .phone-app,
.servix-phone-wrapper .camera-app,
.servix-phone-wrapper .photos-app {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1000;
    display: none;
    flex-direction: column;
}

.servix-phone-wrapper .mail-app.active,
.servix-phone-wrapper .wallet-app.active,
.servix-phone-wrapper .files-app.active,
.servix-phone-wrapper .mobile-settings.active,
.servix-phone-wrapper .mobile-ai-assistant.active,
.servix-phone-wrapper .phone-app.active,
.servix-phone-wrapper .camera-app.active,
.servix-phone-wrapper .photos-app.active {
    display: flex;
}

/* Mail */
.servix-phone-wrapper .mail-header {
    background: linear-gradient(135deg, #00b4ff, #0066ff);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.servix-phone-wrapper .mail-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.servix-phone-wrapper .mail-close,
.servix-phone-wrapper .wallet-close,
.servix-phone-wrapper .files-close,
.servix-phone-wrapper .settings-close,
.servix-phone-wrapper .ai-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.servix-phone-wrapper .mail-close:hover,
.servix-phone-wrapper .wallet-close:hover,
.servix-phone-wrapper .files-close:hover,
.servix-phone-wrapper .settings-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.servix-phone-wrapper .mail-content,
.servix-phone-wrapper .wallet-content,
.servix-phone-wrapper .files-content,
.servix-phone-wrapper .settings-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.servix-phone-wrapper .mail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.servix-phone-wrapper .mail-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    border-color: #00b4ff;
}

.servix-phone-wrapper .mail-item.unread {
    background: rgba(0, 180, 255, 0.1);
    border-left: 3px solid #00b4ff;
}

.servix-phone-wrapper .mail-item-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.servix-phone-wrapper .mail-item-title {
    font-weight: bold;
    color: white;
    margin-bottom: 3px;
}

.servix-phone-wrapper .mail-item-body {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 3px;
}

.servix-phone-wrapper .mail-item-time {
    font-size: 0.7rem;
    color: #666;
}

/* Wallet */
.servix-phone-wrapper .wallet-header {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.servix-phone-wrapper .wallet-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.servix-phone-wrapper .wallet-balance-card {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.servix-phone-wrapper .wallet-balance-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.servix-phone-wrapper .wallet-balance-value {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.servix-phone-wrapper .wallet-user-name {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.servix-phone-wrapper .wallet-charge-btn {
    width: 100%;
    background: linear-gradient(135deg, #00b4ff, #0066ff);
    border: none;
    color: white;
    padding: 18px;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 25px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.servix-phone-wrapper .wallet-charge-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 180, 255, 0.4);
}

.servix-phone-wrapper .wallet-history {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.servix-phone-wrapper .wallet-history h4 {
    color: #888;
    margin-bottom: 15px;
    font-size: 1rem;
}

.servix-phone-wrapper .wallet-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.servix-phone-wrapper .wallet-history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.servix-phone-wrapper .wallet-history-item i {
    font-size: 1.5rem;
}

.servix-phone-wrapper .wallet-history-item div div {
    color: white;
    font-size: 0.9rem;
}

.servix-phone-wrapper .wallet-history-item small {
    color: #666;
    font-size: 0.7rem;
}

/* Files */
.servix-phone-wrapper .files-header {
    background: linear-gradient(135deg, #4A6CF7, #6A11CB);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.servix-phone-wrapper .files-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.servix-phone-wrapper .files-section {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.servix-phone-wrapper .files-section h3 {
    color: #4A6CF7;
    margin-bottom: 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.servix-phone-wrapper .tool-button {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 8px;
    width: 100%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: right;
    flex-wrap: nowrap;
    gap: 10px;
}

.servix-phone-wrapper .tool-button:hover {
    background: rgba(74, 108, 247, 0.15);
    transform: translateX(-5px);
    border-color: #4A6CF7;
}

.servix-phone-wrapper .tool-button i {
    font-size: 1.5rem;
    margin-left: 15px;
    color: #4A6CF7;
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.servix-phone-wrapper .tool-info {
    flex: 1;
}

.servix-phone-wrapper .tool-name {
    font-weight: bold;
    margin-bottom: 3px;
    color: white;
    font-size: 0.9rem;
}

.servix-phone-wrapper .tool-desc {
    font-size: 0.75rem;
    color: #888;
}

.servix-phone-wrapper .download-btn {
    background: #4A6CF7;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.3s;
    margin-right: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

.servix-phone-wrapper .download-btn:hover {
    background: #6A11CB;
    transform: scale(1.05);
}

/* Settings */
.servix-phone-wrapper .settings-header {
    background: linear-gradient(135deg, #2a2a3a, #1a1a2a);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.servix-phone-wrapper .settings-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #00ffff;
}

.servix-phone-wrapper .settings-header-title i {
    color: #00ffff;
}

.servix-phone-wrapper .settings-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(192, 192, 192, 0.1);
}

.servix-phone-wrapper .settings-section h3 {
    color: #C0C0C0;
    margin-bottom: 15px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(192, 192, 192, 0.2);
    padding-bottom: 8px;
}

.servix-phone-wrapper .settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.servix-phone-wrapper .settings-item:last-child {
    border-bottom: none;
}

.servix-phone-wrapper .settings-value {
    color: #C0C0C0;
    font-weight: bold;
}

.servix-phone-wrapper .theme-toggle-wrap {
    display: flex;
    gap: 8px;
}

.servix-phone-wrapper .theme-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.servix-phone-wrapper .theme-btn.active {
    background: rgba(0, 180, 255, 0.2);
    border-color: #00b4ff;
    color: #00b4ff;
}

/* AI */
.servix-phone-wrapper .mobile-ai-assistant {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    color: white;
    font-family: 'Segoe UI', system-ui, 'Cairo', sans-serif;
    overflow: hidden;
    border-radius: 45px;
}

.servix-phone-wrapper .ai-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 180, 71, 0.3);
    flex-shrink: 0;
}

.servix-phone-wrapper .ai-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.servix-phone-wrapper .ai-header-title i {
    color: #ffb347;
    font-size: 1rem;
}

.servix-phone-wrapper .ai-chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 10px;
}

.servix-phone-wrapper .ai-messages {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
    padding-right: 4px;
}

.servix-phone-wrapper .ai-messages::-webkit-scrollbar {
    width: 3px;
}

.servix-phone-wrapper .ai-messages::-webkit-scrollbar-track {
    background: #2a2a36;
}

.servix-phone-wrapper .ai-messages::-webkit-scrollbar-thumb {
    background: #ffb347;
    border-radius: 10px;
}

.servix-phone-wrapper .ai-msg {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 0.7rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.servix-phone-wrapper .ai-msg.bot {
    background: #2a2a36;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.servix-phone-wrapper .ai-msg.user {
    background: #ffb347;
    color: #1e1e2a;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    font-weight: 500;
}

.servix-phone-wrapper .ai-input-container {
    display: flex;
    gap: 8px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.servix-phone-wrapper .ai-input-container input {
    flex: 1;
    background: #2a2a36;
    border: 1px solid #3a3a44;
    border-radius: 30px;
    padding: 8px 12px;
    color: white;
    font-size: 0.7rem;
    outline: none;
}

.servix-phone-wrapper .ai-input-container input:focus {
    border-color: #ffb347;
}

.servix-phone-wrapper .ai-input-container button {
    background: #ffb347;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    color: #1e1e2a;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servix-phone-wrapper .ai-input-container button:hover {
    background: #ffa01e;
}

/* ===== أنيميشن الاهتزاز ===== */
@keyframes servix-shake {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(1.5deg); }
    20% { transform: rotate(-1.5deg); }
    30% { transform: rotate(1.5deg); }
    40% { transform: rotate(-1.5deg); }
    50% { transform: rotate(0.8deg); }
    60% { transform: rotate(-0.8deg); }
    70% { transform: rotate(0.4deg); }
    80% { transform: rotate(-0.4deg); }
    90% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

.servix-phone-wrapper .phone-vertical-frame.shake {
    animation: servix-shake 0.5s ease-in-out;
}

/* ===== Notification Animation ===== */
.servix-phone-wrapper .island-notification {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    width: 100%;
}

.servix-phone-wrapper .island-notification .app-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.servix-phone-wrapper .island-notification .notification-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.servix-phone-wrapper .island-notification .notification-title {
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.servix-phone-wrapper .island-notification .notification-body {
    font-size: 0.8rem;
    color: #ccc;
}

.servix-phone-wrapper .time-badge {
    font-size: 0.75rem;
    color: #888;
}

/* ===== Responsive: أخفي الموبايل على الشاشات الصغيرة ===== */
@media (max-width: 768px) {
    .servix-phone-wrapper {
        display: none;
    }
}

/* ===== Phone App Specific Styles ===== */
.servix-phone-wrapper .phone-app-header {
    background: linear-gradient(135deg, #1e272e, #0f171c);
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.servix-phone-wrapper .phone-app-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 1rem;
    font-weight: bold;
}

.servix-phone-wrapper .phone-close-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.servix-phone-wrapper .phone-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.servix-phone-wrapper .phone-app-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    padding-bottom: 50px;
}

/* Dialer UI */
.servix-phone-wrapper .dialer-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 15px 20px;
}

.servix-phone-wrapper .dialer-display {
    height: 40px;
    font-size: 1.7rem;
    color: white;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    word-break: break-all;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.servix-phone-wrapper .dialer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 220px;
    margin: 0 auto;
}

.servix-phone-wrapper .dial-btn {
    background: #1e272e;
    border: none;
    color: white;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    transition: background 0.1s;
}

.servix-phone-wrapper .dial-btn:active {
    background: #2f3640;
}

.servix-phone-wrapper .dial-btn span {
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 2px;
    text-transform: uppercase;
    font-weight: 400;
}

.servix-phone-wrapper .dialer-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 20px;
    position: relative;
    width: 100%;
}

.servix-phone-wrapper .call-btn {
    background: #4cd137;
    border: none;
    color: white;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s;
}

.servix-phone-wrapper .call-btn:active {
    transform: scale(0.95);
}

.servix-phone-wrapper .delete-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.15rem;
    cursor: pointer;
    position: absolute;
    right: calc(50% - 75px);
}

/* Tabs */
.servix-phone-wrapper .phone-tabs {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: #0d0d0d;
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1010;
}

.servix-phone-wrapper .phone-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: #555;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    gap: 3px;
}

.servix-phone-wrapper .phone-tab.active {
    color: #00b4ff;
}

.servix-phone-wrapper .phone-tab i {
    font-size: 1rem;
}

.servix-phone-wrapper .phone-tab span {
    font-size: 0.58rem;
    font-weight: 500;
}

/* Contacts screen */
.servix-phone-wrapper .contacts-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 14px;
    overflow-y: auto;
    background: #000;
}

.servix-phone-wrapper .contacts-search {
    margin-bottom: 12px;
}

.servix-phone-wrapper .contacts-search input {
    width: 100%;
    background: #1e272e;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    color: white;
    font-size: 0.8rem;
    outline: none;
    text-align: right;
}

.servix-phone-wrapper .contacts-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.servix-phone-wrapper .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
    flex-direction: row-reverse;
}

.servix-phone-wrapper .contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.servix-phone-wrapper .contact-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 180, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.servix-phone-wrapper .contact-info {
    flex: 1;
    text-align: right;
}

.servix-phone-wrapper .contact-name {
    font-size: 0.8rem;
    color: white;
    font-weight: 600;
}

.servix-phone-wrapper .contact-phone {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
}

/* Calling Screen */
.servix-phone-wrapper .calling-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: radial-gradient(circle at center, #1a2a3a, #000);
    z-index: 1020;
}

.servix-phone-wrapper .calling-contact-name {
    font-size: 1.3rem;
    color: white;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
}

.servix-phone-wrapper .calling-number {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.servix-phone-wrapper .calling-status {
    font-size: 0.8rem;
    color: #4cd137;
    margin-bottom: 30px;
    animation: blinkStatus 1.5s infinite;
}

@keyframes blinkStatus {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.servix-phone-wrapper .calling-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 40px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.servix-phone-wrapper .calling-actions {
    display: flex;
    justify-content: center;
}

.servix-phone-wrapper .end-call-btn {
    background: #ff4757;
    border: none;
    color: white;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s;
}

.servix-phone-wrapper .end-call-btn:active {
    transform: scale(0.95);
}

/* ===== Camera App Specific Styles ===== */
.servix-phone-wrapper .camera-header {
    height: 44px;
    background: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.servix-phone-wrapper .camera-flash-btn,
.servix-phone-wrapper .camera-close-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servix-phone-wrapper .camera-hdr {
    font-size: 0.68rem;
    font-weight: bold;
    border: 1px solid white;
    padding: 1px 5px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.servix-phone-wrapper .camera-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #000;
    overflow: hidden;
}

.servix-phone-wrapper .camera-viewfinder {
    flex: 1;
    position: relative;
    background: #111;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servix-phone-wrapper .camera-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
    padding: 20px;
}

.servix-phone-wrapper .camera-fallback i {
    font-size: 2.2rem;
}

.servix-phone-wrapper .camera-fallback span {
    font-size: 0.75rem;
    line-height: 1.4;
    direction: rtl;
}

.servix-phone-wrapper .scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #00b4ff, transparent);
    animation: scanAnimation 2.2s infinite linear;
}

@keyframes scanAnimation {
    0% { top: 0; }
    100% { top: 100%; }
}

.servix-phone-wrapper .camera-flash-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    z-index: 100;
}

.servix-phone-wrapper .camera-flash-overlay.flash-active {
    animation: flashEffect 0.25s ease-out;
}

@keyframes flashEffect {
    0% { opacity: 0; }
    20% { opacity: 0.95; }
    100% { opacity: 0; }
}

.servix-phone-wrapper .camera-modes {
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    overflow: hidden;
}

.servix-phone-wrapper .camera-modes-track {
    display: flex;
    gap: 22px;
    font-weight: 600;
}

.servix-phone-wrapper .camera-modes-track span.active {
    color: #ffd700;
}

.servix-phone-wrapper .camera-controls {
    height: 75px;
    background: #000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.servix-phone-wrapper .camera-gallery-preview {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid white;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    display: block;
    transition: transform 0.2s;
}

.servix-phone-wrapper .camera-gallery-preview:hover {
    transform: scale(1.05);
}

.servix-phone-wrapper .camera-capture-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: white;
    border: 3.5px solid #000;
    box-shadow: 0 0 0 1.5px white;
    cursor: pointer;
    transition: transform 0.1s;
}

.servix-phone-wrapper .camera-capture-btn:active {
    transform: scale(0.9);
}

.servix-phone-wrapper .camera-flip-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: white;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.servix-phone-wrapper .camera-flip-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== Photos App Specific Styles ===== */
.servix-phone-wrapper .photos-header {
    height: 44px;
    background: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    direction: rtl;
}

.servix-phone-wrapper .photos-close-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.servix-phone-wrapper .photos-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.servix-phone-wrapper .photos-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    padding-bottom: 50px;
    background: #000;
}

.servix-phone-wrapper .photos-grid-view {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 14px;
    overflow-y: auto;
}

.servix-phone-wrapper .photos-section-title {
    font-size: 1rem;
    color: white;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: right;
}

.servix-phone-wrapper .photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.servix-phone-wrapper .photo-thumb {
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.15s;
    background-color: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.servix-phone-wrapper .photo-thumb:hover {
    transform: scale(0.97);
}

/* Individual Detail View */
.servix-phone-wrapper .photo-detail-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    z-index: 1020;
}

.servix-phone-wrapper .photo-detail-view .detail-header {
    height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.8);
    direction: rtl;
}

.servix-phone-wrapper .detail-back-btn {
    background: transparent;
    border: none;
    color: #00b4ff;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.servix-phone-wrapper .set-wallpaper-btn {
    background: #00b4ff;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.servix-phone-wrapper .set-wallpaper-btn:hover {
    background: #0088cc;
}

.servix-phone-wrapper .detail-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
}

.servix-phone-wrapper #detailImg {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.servix-phone-wrapper .photo-detail-view .detail-footer {
    height: 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.servix-phone-wrapper .detail-action-btn {
    background: transparent;
    border: none;
    color: #00b4ff;
    font-size: 1.15rem;
    cursor: pointer;
}

/* Tabs */
.servix-phone-wrapper .photos-tabs {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: #0d0d0d;
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1010;
}

.servix-phone-wrapper .photos-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: #555;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    gap: 3px;
}

.servix-phone-wrapper .photos-tab.active {
    color: #00b4ff;
}

.servix-phone-wrapper .photos-tab i {
    font-size: 1rem;
}

.servix-phone-wrapper .photos-tab span {
    font-size: 0.58rem;
    font-weight: 500;
}