@import url('https://fonts.googleapis.com/css?family=Poppins:400,600&display=swap');

body {
    min-height: 100vh;
    margin: 0;
    font-family: 'Poppins', Arial, sans-serif;
    background: url('background.png') no-repeat center center fixed;
    background-size: cover;
    color: #f3f3f3;
    position: relative;
    display: flex;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 30, 0.85);
    backdrop-filter: blur(8px);
    z-index: 0;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 250px;
    background: rgba(30, 30, 40, 0.95);
    border-radius: 0 16px 16px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    box-shadow: 2px 0 16px 0 rgba(0,0,0,0.25);
}

.sidebar-top {
    padding: 2rem 1.5rem 0 1.5rem;
}

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5rem;
}

.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
    background: #232336;
}

.profile-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fc67fa;
    margin-bottom: 0.5rem;
}

nav {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.nav-link {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8em;
    background: rgba(40, 40, 50, 0.85);
    color: #f3f3f3;
    text-decoration: none;
    font-size: 1.08rem;
    font-weight: 500;
    padding: 0.7em 1em;
    border-radius: 8px;
    transition: background 0.18s, color 0.18s;
}

.nav-link.active, .nav-link:hover {
    background: #fc67fa;
}

.sidebar-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 0 1.5rem 2rem 1.5rem;
}

.main-content {
    position: relative;
    z-index: 1;
    margin-left: 250px;
    min-height: 100vh;
    width: 1200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 3.5rem 0 0 3.5rem;
    box-sizing: border-box;
}

.main-header {
    width: 100%;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #fc67fa;
}

.text {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #f3f3f3;
}

h1, h2, h3 {
    color: #fc67fa;
    margin-bottom: 1.2rem;
    font-family: 'Poppins', Arial, sans-serif;
}

a, button {
    font-family: 'Poppins', Arial, sans-serif;
}

input, select {
    background: #232336;
    color: #fff;
    border: 1px solid #fc67fa;
    border-radius: 6px;
    padding: 0.5em;
    margin: 0.5em 0;
}

::-webkit-scrollbar {
    width: 8px;
    background: #232336;
}
::-webkit-scrollbar-thumb {
    background: #fc67fa;
    border-radius: 4px;
}

.invite-btn {
    margin-top: 2.2rem;
    background: #fc67fa;
    color: #181828;
    border: none;
    border-radius: 8px;
    padding: 0.7em 1.6em;
    font-size: 1.08em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    display: inline-flex;
    align-items: center;
    gap: 0.7em;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.10);
}
.invite-btn:hover {
    background: #d94fd6;
    color: #fff;
}

.invite-popup {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(20,20,30,0.65);
    justify-content: center;
    align-items: center;
}
.invite-popup.show {
    display: flex;
}
.invite-popup-content {
    background: rgba(30,30,40,0.98);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.37);
    padding: 2.2rem 2.2rem 1.5rem 2.2rem;
    min-width: 320px;
    max-width: 95vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.invite-popup-content h2 {
    color: #fc67fa;
    margin-bottom: 1.2rem;
    font-size: 1.3em;
}
.invite-popup-content input[type="text"] {
    width: 320px;
    max-width: 80vw;
    padding: 0.6em;
    border-radius: 6px;
    border: 1px solid #fc67fa;
    background: #232336;
    color: #fff;
    font-size: 1.05em;
    margin-bottom: 1rem;
    text-align: center;
}
.invite-popup-content button {
    background: #fc67fa;
    color: #181828;
    border: none;
    border-radius: 8px;
    padding: 0.5em 1.2em;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 0.7em;
    transition: background 0.18s, color 0.18s;
    font-size: 1em;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}
.invite-popup-content button:hover {
    background: #d94fd6;
    color: #fff;
}
.invite-popup-close {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    background: none;
    color: #fc67fa;
    border: none;
    font-size: 1.3em;
    cursor: pointer;
    padding: 0;
}
.invite-popup-hint {
    font-size: 0.97em;
    color: #aaa;
    margin-top: 0.7em;
    text-align: center;
    max-width: 320px;
}

.link {
    color: #fc67fa;
    text-decoration: none;
    font-weight: 600;
}

.link:hover {
    text-decoration: underline;
}