/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #0f0f0f;
    color: #fff;
    overflow-x: hidden;
}

.settings-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #121212 0%, #1a1a1a 100%);
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo i {
    font-size: 2.5rem;
    color: #ff4757;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ff4757, #ff6b81);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav ul {
    list-style: none;
    margin-bottom: 40px;
}

.main-nav li {
    margin-bottom: 8px;
}

.main-nav a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 20px;
    color: #b3b3b3;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    transform: translateX(5px);
}

.main-nav a i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.main-nav li.active a {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.2), rgba(255, 107, 129, 0.2));
    color: #ff4757;
    border-left: 3px solid #ff4757;
    font-weight: 500;
}

.quick-stats {
    margin-top: auto;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.quick-stats h3 {
    font-size: 1rem;
    color: #b3b3b3;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-item i {
    font-size: 1.5rem;
    color: #ff4757;
    width: 30px;
}

.stat-item h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.85rem;
    color: #b3b3b3;
}

.sidebar-footer {
    margin-top: auto;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.user-profile img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff4757;
}

.user-info h4 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.user-info p {
    font-size: 0.85rem;
    color: #ff6b81;
    font-weight: 500;
}

.user-profile i {
    margin-left: auto;
    color: #b3b3b3;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 30px;
    background: linear-gradient(180deg, #0f0f0f 0%, #121212 100%);
    min-height: 100vh;
}

/* Header */
.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-content h1 i {
    color: #ff4757;
}

.header-content p {
    color: #b3b3b3;
    font-size: 1.1rem;
}

.save-btn {
    padding: 14px 30px;
    background: linear-gradient(135deg, #1db954 0%, #1ed760 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.save-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(29, 185, 84, 0.3);
}

/* Settings Tabs */
.settings-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow-x: auto;
    scrollbar-width: none;
}

.settings-tabs::-webkit-scrollbar {
    display: none;
}

.settings-tab {
    padding: 14px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #b3b3b3;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-tab.active,
.settings-tab:hover {
    background: rgba(255, 71, 87, 0.2);
    border-color: #ff4757;
    color: white;
}

.settings-tab i {
    font-size: 1.1rem;
}

/* Settings Content */
.settings-content {
    max-width: 1200px;
}

.settings-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.settings-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.settings-section h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.settings-section h2 i {
    color: #ff4757;
}

/* Profile Card */
.profile-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.avatar-upload {
    position: relative;
    width: 100px;
    height: 100px;
}

.avatar-upload img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff4757;
}

.upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.avatar-upload:hover .upload-overlay {
    opacity: 1;
}

.upload-overlay i {
    font-size: 1.5rem;
    color: white;
}

.upload-overlay input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
   