:root {
    --bg: #EC9AA3;
    --accent: #FD85FF;
    --accent2: #C085FF;
    --border: #dab0f4;
    --text: #4a2a59;
}
body {
    font-family: "Poppins", sans-serif;
    background: var(--bg);
    color: var(--text);
    text-align: center;
    background-image:URL("./images/2013593.png");
    background-attachment:fixed;
    background-repeat: no-repeat;
    background-size: cover;
    opacity:0.8;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px #FF00FF;
    padding: 30px;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
}


h2 { color: var(--text); font-size: 1.8em; margin-bottom: 10px; }
form
input[type="file"] {
    background: white;
    border: 2px dashed var(--accent);
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    width: 90%;
    margin: 10px auto;
}
input[type="submit"] {
    background: var(--accent);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
input[type="submit"]:hover { background: #d094f2; }
.message {
    font-weight: bold;
    margin: 10px 0;
    padding: 10px;
    border-radius: 10px;
}
.success { background: #d5ffd5; color: #1f721f; }
.error { background: #ffd5d5; color: #9b1a1a; }
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.images {
    margin: 10px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s;
}
.images:hover { transform: scale(1.05); }
.images img {
    width: 250px;
    height: 180px;
    object-fit: cover;
}
.pagination { margin-top: 20px; }
.pagination a {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 14px;
    background: var(--accent);
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}
.pagination a:hover { background: #d094f2; }
.pagination .current { background: var(--text); color: #fff; }
#progressBar {
    width: 90%;
    background: #f1e0fa;
    border-radius: 20px;
    margin: 10px auto;
    height: 10px;
    overflow: hidden;
    display: none;
}
#progressBar div {
    height: 100%;
    width: 0%;
    background: var(--accent);
    transition: width 0.2s;
}

.images {
    margin: 10px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s;
    width: 250px;
}

.image-actions {
    display: flex;
    justify-content: flex-end;
    padding: 8px;
    background: #fff;
}

.share-btn {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 13px;
}

.share-btn:hover {
    background: #d094f2;
}

.tabs {
    margin: 20px 0;
}

.tabs a {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 5px;
    text-decoration: none;
    background: var(--accent);
    color: white;
    border-radius: 20px;
    font-weight: bold;
}

.tabs a.active {
    background: var(--text);
}

.delete-btn {
    background: #ff4d4d;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 13px;
    margin-left: 5px;
}

.delete-btn:hover {
    background: #e60000;
}

a.discord-btn:hover {
    background:#4752c4;
    transform: scale(1.05);
}

.footer {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.65);
    color: white;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
    z-index: 9999;
}

input[type="text"],
input[type="password"] {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid #e7b5f9;
    border-radius: 10px;
    outline: none;
    font-size: 14px;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #d094f2;
    box-shadow: 0 0 8px #e7b5f9;
}

input[type="submit"] {
    width: 95%;
    padding: 10px;
    margin-top: 10px;
    border: none;
    border-radius: 25px;
    background: #e7b5f9;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

input[type="submit"]:hover {
    background: #d094f2;
    transform: scale(1.03);
}

.error {
    background: #ffd5d5;
    color: #9b1a1a;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}

a {
    color: #4a2a59;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.profile-menu {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar-wrapper {
    position:relative;
}

.avatar-circle {
    width:40px;
    height:40px;
    border-radius:50%;
    background:#6c5ce7;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
    cursor:pointer;
}

.profile-dropdown {
    position:absolute;
    top:100%;
    right:0;
    margin-top:4px;

    min-width:140px;
    background:#1e1e1e;
    border:0px solid #333;
    opacity:0;
    visibility:hidden;
    transform:translateY(5px);

    transition:0.15s;
    z-index:9999;
}

.profile-dropdown::before {
    content:"";
    position:absolute;
    top:-10px;
    left:0;
    right:0;
    height:10px;
    border:0px;
}

.avatar-wrapper:hover .profile-dropdown,
.profile-dropdown:hover {
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.profile-dropdown a {
    display:block;
    padding:12px;
    color:white;
    text-decoration:none;
}

.profile-dropdown a:hover {
    background:lightpink;
}

.verify-badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
}

.verify-badge.verified {
    background: #00b894;
    color: white;
}

.verify-badge.unverified {
    background: #e17055;
    color: white;
}

.users-online {
    margin-top: 25px;
    padding: 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.users-online-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

.online-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00d26a;
    box-shadow: 0 0 8px #00d26a;
}

.online-title {
    flex: 1;
}

.online-count {
    background: #6c5ce7;
    color: white;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
}

#onlineUsers {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.online-avatar {
    width:48px;
    height:48px;
    border-radius:50%;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#6c5ce7;
    color:white;
    font-weight:bold;
    font-size:18px;
    cursor:pointer;
}

.online-avatar img {
    width:100%;
    height:100%;
    object-fit:cover;
}

.online-user {
    background: var(--bg);
    border: 1px solid rgba(108,92,231,0.4);
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    transition: 0.2s;
}

.online-user:hover {
    transform: translateY(-2px);
}

.avatar-delete-btn {
    position: absolute;
    top: 0;
    right: 0;

    width: 18px;
    height: 18px;

    padding: 0;
    margin: 0;
    border: none;

    border-radius: 50%;
    background: red;
    color: white;

    font-size: 12px;
    line-height: 18px;
    font-weight: bold;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}

.camera-wrapper{
    text-align:center;
    margin-bottom:20px;
}

#openCameraBtn,
#capturePhotoBtn,
#closeCameraBtn{
    padding:10px 20px;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-weight:bold;
}

#cameraVideo{
    width:400px;
    max-width:100%;
    border-radius:12px;
    margin-top:15px;
}

#capturePhotoBtn,
#flipCameraBtn {
    background: #C085FF;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
}
