/* MMK Portal Custom Styles (Device Mockups & Custom UI Overrides) */

:root {
    --transition-speed: 0.3s;
    --border-color: rgba(228, 228, 230, 0.8);
    --bg-card: #ffffff;
    --text-secondary: #71717a;
    --font-body: 'Hanken Grotesk', 'Inter', sans-serif;
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
    --border-color: rgba(63, 63, 70, 0.6);
    --bg-card: #18181b;
    --text-secondary: #a1a1aa;
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -7px rgba(0, 0, 0, 0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(161, 161, 170, 0.3);
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(161, 161, 170, 0.5);
}

/* Laptop Device Frame Mockup */
.laptop-frame {
    width: 100%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-speed);
}

.laptop-topbar {
    height: 36px;
    background-color: #f4f4f5;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
    position: relative;
    transition: background-color var(--transition-speed), border-color var(--transition-speed);
}

[data-theme="dark"] .laptop-topbar {
    background-color: #27272a;
}

.laptop-dots {
    display: flex;
    gap: 6px;
}

.laptop-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #eab308; }
.dot-green { background-color: #22c55e; }

.laptop-address {
    flex: 1;
    max-width: 320px;
    height: 22px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin: 0 auto;
    font-size: 0.7rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    transition: background-color var(--transition-speed), border-color var(--transition-speed);
}

[data-theme="dark"] .laptop-address {
    background-color: #18181b;
}

.laptop-screen {
    width: 100%;
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background-color: #000000;
}

.laptop-screen video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Tablet Device Frame Mockup (Portrait Orientation) */
.tablet-frame-outer {
    background-color: #1f2029;
    padding: 28px 18px; /* Thicker top/bottom bezels for camera/home button */
    border-radius: 36px;
    box-shadow: var(--shadow-lg);
    border: 4px solid #323545;
    position: relative;
    max-width: 320px; /* Portrait width */
    margin: 0 auto;
    width: 100%;
}

.tablet-frame-inner {
    border-radius: 20px;
    overflow: hidden;
    background-color: #000000;
    position: relative;
    padding-top: 177.77%; /* 9:16 vertical aspect ratio */
}

.tablet-frame-inner video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tablet-camera {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background-color: #0c0d14;
    border-radius: 50%;
}

.tablet-home-button {
    position: absolute;
    bottom: 9px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border: 2px solid #5a5d73;
    border-radius: 50%;
}
