/*
Theme Name: Badoo Style Child
*/

:root {
    --badoo-purple: #7832ff;
    --badoo-bg: #f3f3f7;
}

body { background: var(--badoo-bg); font-family: sans-serif; margin: 0; padding-bottom: 100px; }

/* HEADER STIL */
.sk-header {
    background: var(--badoo-purple);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.sk-topbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.sk-logo-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.sk-logo strong { color: #fff; font-size: 26px; font-weight: 900; text-decoration: none; }

/* AVATAR & DROPDOWN */
.sk-avatar-trigger {
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sk-avatar-trigger img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.sk-avatar-trigger i { color: #fff; font-size: 24px; }

.sk-user { position: relative; }
.sk-user-menu {
    position: absolute;
    top: 55px;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    min-width: 180px;
    display: none;
    overflow: hidden;
}
.sk-user:hover .sk-user-menu { display: block; }
.sk-user-menu a { display: block; padding: 12px 15px; color: #333; text-decoration: none; font-weight: 600; font-size: 14px; }
.sk-user-menu a:hover { background: #f4f4f9; color: var(--badoo-purple); }

/* GRID S PROFILIMA */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-card { display: flex; flex-direction: column; }
.image-wrap {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.image-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* STATUS TOČKICA */
.status-dot {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    z-index: 10;
}
.online { background: #4cd137; box-shadow: 0 0 8px #4cd137; }
.offline { background: #bbb; }

.profile-name { padding: 10px 5px; font-weight: 700; color: #111; font-size: 16px; }