/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* CSS Custom Properties */
:root {
    --bg-body: #000;
    --bg-card: #111;
    --bg-input: #1a1a1a;
    --bg-hover: #222;
    --accent-blue: #00D4FF;
    --accent-blue-hover: #00b8e6;
    --accent-pink: #FF2D78;
    --accent-pink-hover: #e0205f;
    --accent-green: #39FF14;
    --accent-green-hover: #2edc10;
    --text-primary: #fff;
    --text-secondary: #e0e0e0;
    --text-muted: #999;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --glow-blue: 0 0 15px rgba(0, 212, 255, 0.4);
    --glow-pink: 0 0 15px rgba(255, 45, 120, 0.4);
    --glow-green: 0 0 15px rgba(57, 255, 20, 0.4);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.25s ease;
}

/* General Reset */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-secondary);
}

/* Ensure HTML & Body Take Full Page Height */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Sidebar Styling */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 5%;
    color: var(--text-primary);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    background: var(--bg-body);
    border-right: 1px solid var(--border-subtle);
}

/* Profile Info in Sidebar */
.profile-info {
    text-align: center;
    margin-bottom: 20px;
}

.profile-info img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--accent-blue);
    margin-bottom: 10px;
}

.profile-info h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.profile-info p {
    font-size: 1rem;
    margin-top: 5px;
    color: var(--text-muted);
}

/* Sidebar Navigation */
.sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
    font-weight: 600;
}

.sidebar nav ul li {
    padding: 10px 0;
}

.sidebar nav ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
    padding: 6px 8px;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.sidebar nav ul li a:hover {
    color: var(--accent-blue);
    background-color: rgba(0, 212, 255, 0.08);
    box-shadow: var(--glow-blue);
}

/* Main Content */
.main-content {
    margin-left: 7%;
    padding: 20px;
    background: var(--bg-body);
    min-height: 100vh;
    color: var(--text-secondary);
    overflow-x: hidden;
}

/* Responsive Fix: Stack Content on Smaller Screens */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding-bottom: 10px;
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
    }

    .main-content {
        margin-left: 0;
    }
}

/* Footer */
footer {
    background: var(--bg-body);
    color: var(--text-secondary);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}

footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

footer ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: color var(--transition);
}

footer ul li a:hover {
    color: var(--accent-blue);
}

footer p {
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

/* Homepage Content */
.homepage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 80vh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.homepage h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.homepage p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    line-height: 1.6;
}

/* Profile Page Layout */
.profile-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto auto 1fr auto;
    gap: 10px;
    padding: 20px;
    box-sizing: border-box;
    border-radius: var(--radius);
    background-color: var(--bg-body);
    color: var(--text-primary);
}

/* Profile Header Section */
.profile-header {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    width: 100%;
    box-sizing: border-box;
}

.profile-header img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--accent-blue);
    object-fit: cover;
}

.profile-header .profile-details {
    margin-left: 20px;
    color: var(--text-primary);
}

.profile-header .profile-details h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

.profile-header .profile-details p {
    margin: 5px 0;
    color: var(--text-muted);
}

.profile-header .profile-details a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition);
}

.profile-header .profile-details a:hover {
    color: var(--accent-green);
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.3);
}

.profile-content {
    grid-column: 2 / 3;
    grid-row: 2 / -1;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 20px;
    border-radius: var(--radius-lg);
    overflow-y: auto;
}

.profile-content h2 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.profile-name-follow {
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-item {
    background: var(--bg-input);
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-subtle);
    text-align: center;
}

.video-item h4 {
    margin: 5px 0;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.video-item p {
    margin: 5px 0;
    color: var(--text-secondary);
}

.video-player {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius);
    margin-top: 10px;
}

.follow-container form {
    margin: 0;
}

.follow-button,
.unfollow-button {
    padding: 6px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
}

.follow-button {
    background-color: var(--accent-green);
    color: #000;
}

.unfollow-button {
    background-color: var(--accent-pink);
    color: var(--text-primary);
}

.follow-button:hover {
    background-color: var(--accent-green-hover);
    box-shadow: var(--glow-green);
}

.unfollow-button:hover {
    background-color: var(--accent-pink-hover);
    box-shadow: var(--glow-pink);
}

.profile-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 20px;
    border-radius: var(--radius-lg);
    width: 100%;
    box-sizing: border-box;
}

.post-item {
    background: var(--bg-input);
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.post-item h4 {
    margin: 0 0 5px;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.post-item p {
    margin: 5px 0;
    color: var(--text-secondary);
}

.post-image {
    max-width: 100%;
    border-radius: 6px;
    margin-top: 10px;
    display: block;
    text-align: center;
}

.group-channel {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    background: var(--bg-hover);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    font-size: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
}

.profile-song {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-song svg {
    display: inline-block;
    vertical-align: middle;
}

.profile-song span {
    font-size: 1rem;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.post-meta {
    display: flex;
    justify-content: right;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.post-date {
    font-weight: 600;
}

/* Responsive Fix for Smaller Screens */
@media (max-width: 768px) {
    .profile-song {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-top: 5px;
    }

    .profile-header {
        flex-direction: column;
        align-items: center;
    }
}

/* Full-Page Members Area Grid */
.members-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
    background-color: var(--bg-body);
    color: var(--text-primary);
}

/* Member Info Section */
.member-info {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-sizing: border-box;
}

.member-info img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--accent-blue);
    object-fit: cover;
}

.member-info .info {
    flex: 1;
}

.member-info h2 {
    margin: 0 0 10px;
    font-size: 1.8rem;
    font-weight: 700;
}

.member-info p {
    margin: 5px 0;
    color: var(--text-muted);
}

/* Member Links Section */
.member-links {
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    padding: 20px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.member-links h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.member-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.member-links ul li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.member-links ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: all var(--transition);
}

.member-links ul li a:hover {
    color: var(--accent-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    .member-info {
        flex-direction: column;
        text-align: center;
    }

    .member-info img {
        margin-bottom: 15px;
    }
}

.upload-area {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.upload-area h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
}

.upload-area form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.upload-area label {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.upload-area input,
.upload-area textarea,
.upload-area button {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius);
    box-sizing: border-box;
}

.upload-area button {
    background-color: var(--accent-blue);
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.upload-area button:hover {
    background-color: var(--accent-blue-hover);
    box-shadow: var(--glow-blue);
}

.edit-profile-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.edit-profile-container h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
}

label {
    font-size: 1rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 5px;
}

/* General Input Styling */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
textarea {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    box-sizing: border-box;
    background-color: var(--bg-input);
    color: var(--text-primary);
    transition: border-color var(--transition), box-shadow var(--transition);
}

/* Focus Effect */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

/* Date Input Specific */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

/* File Input */
input[type="file"] {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    background-color: var(--bg-input);
    color: var(--text-primary);
    box-sizing: border-box;
}

/* Form Group Inputs */
.form-group input,
.form-group textarea,
.form-group select {
    color: var(--text-primary) !important;
    padding: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    background-color: var(--bg-input);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

/* Button Styling */
button {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    background-color: var(--accent-blue);
    color: #000;
    cursor: pointer;
    transition: all var(--transition);
}

button:hover {
    background-color: var(--accent-blue-hover);
    box-shadow: var(--glow-blue);
}

img {
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    object-fit: cover;
}

.friends-list, .followers-list, .following-list {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 20px;
    border-radius: var(--radius-lg);
    margin-top: 20px;
    color: var(--text-primary);
    text-align: center;
}

.friends-list, .followers-list, .following-list h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    justify-content: center;
}

.friend-card {
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    padding: 15px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.friend-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 212, 255, 0.15);
}

.friend-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--accent-blue);
    object-fit: cover;
    margin-bottom: 10px;
}

.friend-card h4 {
    margin: 10px 0;
    font-size: 1rem;
    color: var(--text-secondary);
}

.friend-card a {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
}

.friend-card a:hover {
    color: var(--accent-blue-hover);
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}

.signup-container {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.signup-container h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
}

.errors {
    margin-bottom: 20px;
    color: var(--accent-pink);
    text-align: left;
}

.errors ul {
    list-style: disc;
    margin: 0;
    padding: 0 20px;
}

.login-container {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.login-container h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
}

.error {
    margin-bottom: 20px;
    color: var(--accent-pink);
    text-align: center;
    font-size: 1rem;
}

/* General Container Styling */
.forgot-password-container {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.forgot-password-container h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Success and Error Messages */
.message {
    margin-bottom: 20px;
    color: var(--accent-green);
    text-align: center;
    font-size: 1rem;
}

/* Terms and Conditions Page */
.terms-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

.terms-container h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-align: center;
}

.terms-container p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-muted);
}

.terms-container h2 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.terms-container ul {
    margin-left: 20px;
    padding-left: 20px;
    list-style: disc;
    color: var(--text-muted);
}

.terms-container ul li {
    margin-bottom: 10px;
}

.terms-container a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
}

.terms-container a:hover {
    color: var(--accent-blue-hover);
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}

@media (max-width: 768px) {
    .terms-container {
        padding: 15px;
    }

    .terms-container h1 {
        font-size: 1.8rem;
    }

    .terms-container h2 {
        font-size: 1.3rem;
    }

    .terms-container p, .terms-container ul li {
        font-size: 0.9rem;
    }
}

.success {
    background: rgba(57, 255, 20, 0.08);
    color: var(--accent-green);
    border: 1px solid rgba(57, 255, 20, 0.2);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: var(--radius);
    text-align: center;
}

.success a {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
}

.success a:hover {
    text-decoration: underline;
}

/* Upload Page Styling */
.upload-container {
    width: 80%;
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-align: center;
}

/* Reduce spacing on smaller screens */
@media (max-width: 768px) {
    .upload-container {
        width: 90%;
        padding: 15px;
    }
}

/* Error & Success Messages */
.errors, .success {
    width: 90%;
    margin: 10px auto;
    padding: 10px;
    text-align: left;
}

.errors {
    background: rgba(255, 45, 120, 0.08);
    color: var(--accent-pink);
    border: 1px solid rgba(255, 45, 120, 0.2);
    border-radius: var(--radius);
}

.success {
    background: rgba(57, 255, 20, 0.08);
    color: var(--accent-green);
    border: 1px solid rgba(57, 255, 20, 0.2);
    border-radius: var(--radius);
}

/* Form Structure */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

/* Form Group */
.form-group {
    text-align: left;
}

.follower-following-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
}

.followers-list, .following-list {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 15px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.follower, .followed {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 5px 0;
}

.follower img, .followed img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.followers-list a, .following-list a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
}

.followers-list a:hover, .following-list a:hover {
    color: var(--accent-blue-hover);
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}

.bubbly-button {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-pink));
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 700;
    padding: 6px 14px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0px 5px 15px rgba(0, 212, 255, 0.2);
    outline: none;
    position: relative;
    overflow: hidden;
}

/* Hover Effect */
.bubbly-button:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 25px rgba(0, 212, 255, 0.35);
}

/* Active (Click) Effect */
.bubbly-button:active {
    transform: scale(0.95);
    box-shadow: 0px 3px 10px rgba(0, 212, 255, 0.2);
}

/* Glow effect on hover */
.bubbly-button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease-out;
    opacity: 0;
}

.bubbly-button:hover::before {
    transform: translate(-50%, -50%) scale(2);
    opacity: 1;
}

/*******MY_POSTS.PHP PAGE SPECIFIC STYLING******/
.posts-container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-radius: var(--radius-lg);
}

.post-category {
    margin-bottom: 20px;
}

.post-category h3 {
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.post-item {
    background: var(--bg-input);
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-subtle);
}

.post-item h4 {
    margin: 0 0 10px;
    color: var(--text-secondary);
}

.post-item p {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.post-item img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    display: block;
    margin-bottom: 10px;
}

.post-item video {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius);
    display: block;
    margin-bottom: 10px;
}

.edit-button, .delete-button {
    display: inline-block;
    margin-right: 10px;
    padding: 8px 14px;
    text-decoration: none;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition);
}

.edit-button {
    background: var(--accent-blue);
    color: #000;
}

.edit-button:hover {
    background: var(--accent-blue-hover);
    box-shadow: var(--glow-blue);
}

.delete-button {
    background: var(--accent-pink);
    color: var(--text-primary);
}

.delete-button:hover {
    background: var(--accent-pink-hover);
    box-shadow: var(--glow-pink);
}

.search-form {
    display: flex;
    align-items: center;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    padding: 5px;
    border-radius: 20px;
    overflow: hidden;
    max-width: 250px;
    position: relative;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.search-form:focus-within {
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.15);
}

.search-form input {
    border: none;
    background: transparent;
    padding: 8px 10px 8px 35px;
    color: var(--text-primary);
    width: 100%;
    outline: none;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.search-form input::placeholder {
    color: var(--text-muted);
}

/* Search button */
.search-button {
    position: absolute;
    left: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: left;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Prevent focus highlight */
.search-button:focus {
    outline: none;
    box-shadow: none;
}

/* Prevent highlighting the icon */
.search-button svg {
    width: 16px;
    height: 16px;
    filter: invert(1);
    pointer-events: none;
}

/* Prevent highlighting the button */
.search-button:hover {
    background: none;
    box-shadow: none;
}

.search-results-container {
    max-width: 800px;
    margin: 20px auto;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 20px;
    border-radius: var(--radius-lg);
    color: var(--text-primary);
}

.search-section {
    margin-bottom: 20px;
}

.search-list {
    list-style: none;
    padding: 0;
}

.search-list li {
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    padding: 10px;
    border-radius: var(--radius);
    margin-bottom: 10px;
    transition: all 0.3s;
}

.search-list li:hover {
    background: var(--bg-hover);
    border-color: rgba(0, 212, 255, 0.15);
}

.search-list img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}
