/* The Little Stuffie Box - Complete Stylesheet */

/* ================================
   GLOBAL STYLES
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #F5F5F5;
    min-height: 100vh;
    color: #333;
}

:root {
    --primary-color: #FF6B9D;
    --secondary-color: #C44569;
    --accent-color: #6BB6FF;
    --background-color: #F5F5F5;
    --card-background: white;
    --text-primary: #333;
    --text-secondary: #666;
    --text-muted: #999;
    --border-color: #E0E0E0;
    --success-color: #4CAF50;
    --error-color: #FF6B6B;
}

/* ================================
   APP CONTAINER
   ================================ */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* ================================
   SIDEBAR STYLES
   ================================ */
.sidebar {
    width: 280px;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    padding: 20px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    transition: transform 0.3s ease;
}

.profile-section {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #F0F0F0;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFE5F0 0%, #E0F4FF 100%);
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #FF9EC6;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.username {
    font-size: 1.3em;
    color: #333;
    font-weight: bold;
    margin-bottom: 5px;
}

.friend-code {
    font-size: 0.9em;
    color: #999;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    margin-bottom: 10px;
}

.nav-links a {
    display: block;
    padding: 12px 15px;
    color: #555;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    background: linear-gradient(135deg, #FFE5F0 0%, #E0F4FF 100%);
    color: #FF6B9D;
}

.install-app-btn {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 12px 15px;
    background: linear-gradient(135deg, #6BB6FF 0%, #9ED9FF 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 0.95em;
    display: block;
}

.install-app-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(107, 182, 255, 0.3);
}

.logout-btn {
    margin-top: 10px;
    padding: 12px 15px;
    background: linear-gradient(135deg, #FFE5E5 0%, #FFD6D6 100%);
    color: #FF6B6B;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 0.95em;
}

.logout-btn:hover {
    background: #FF6B6B;
    color: white;
}

.support-btn {
    display: block;
    margin-top: 10px;
    padding: 12px 15px;
    background: #F0F0F0;
    color: #555;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.support-btn:hover {
    background: #E0E0E0;
}

.sidebar-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #F0F0F0;
    text-align: center;
    font-size: 0.85em;
    color: #999;
}

.sidebar-footer a {
    color: #6BB6FF;
    text-decoration: none;
}

.sidebar-footer a:hover {
    text-decoration: underline;
}

/* ================================
   MOBILE MENU
   ================================ */
.mobile-menu-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 101;
    background: white;
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    display: none;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99;
}

.overlay.visible {
    display: block;
}

/* ================================
   MAIN CONTENT AREA
   ================================ */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 40px;
    min-height: 100vh;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.content-header h1 {
    color: #FF6B9D;
    font-size: 2em;
}

.subtitle {
    color: #999;
    font-size: 0.9em;
    margin-top: 5px;
}

.page-header {
    margin-bottom: 30px;
}

.page-header h1 {
    color: #FF6B9D;
    margin-bottom: 10px;
}

.page-header-with-back {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.back-btn {
    background: #F0F0F0;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    color: #555;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #E0E0E0;
}

/* ================================
   CARDS
   ================================ */
.content-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* ================================
   FORMS
   ================================ */
.form-section {
    margin-bottom: 25px;
}

.form-section h3 {
    color: #FF6B9D;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6BB6FF;
}

.form-group input:disabled {
    background: #F5F5F5;
    cursor: not-allowed;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.info-note {
    font-size: 0.9em;
    color: #999;
    font-style: italic;
    margin-top: 5px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

/* ================================
   BUTTONS
   ================================ */
.save-btn,
.add-btn,
.upload-btn,
.primary-btn {
    background: linear-gradient(135deg, #6BB6FF 0%, #9ED9FF 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1em;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(107, 182, 255, 0.3);
}

.save-btn:hover:not(:disabled),
.add-btn:hover,
.upload-btn:hover,
.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 182, 255, 0.4);
}

.save-btn:disabled {
    background: #CCC;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.delete-btn,
.remove-btn,
.danger-btn {
    background: #FFE5E5;
    color: #FF6B6B;
    border: 2px solid #FF6B6B;
    padding: 12px 30px;
    font-size: 1em;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.delete-btn:hover,
.remove-btn:hover,
.danger-btn:hover {
    background: #FF6B6B;
    color: white;
}

.view-btn,
.secondary-btn {
    padding: 8px 16px;
    background: #6BB6FF;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.view-btn:hover,
.secondary-btn:hover {
    background: #5AA5EE;
}

.btn-white {
    background: white;
    color: var(--primary-color);
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s;
}

.btn-white:hover {
    transform: scale(1.05);
}

/* ================================
   MESSAGES & ALERTS
   ================================ */
.success-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: #E8F5E9;
    color: #2E7D32;
    padding: 15px 30px;
    border-radius: 10px;
    display: none;
    animation: slideDown 0.3s ease forwards;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 90%;
    text-align: center;
    font-weight: 600;
}

.success-message.show {
    display: block;
}

.error-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: #FFEBEE;
    color: #C62828;
    padding: 15px 30px;
    border-radius: 10px;
    display: none;
    animation: slideDown 0.3s ease forwards;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 90%;
    text-align: center;
    font-weight: 600;
}

.error-message.show {
    display: block;
}

@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.content-header {
    margin-bottom: 20px;
}

.placeholder-message {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.placeholder-message p {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state h2,
.empty-state h3 {
    color: #FF6B9D;
    margin-bottom: 10px;
}

/* ================================
   FEED STYLES
   ================================ */
.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.filter-dropdown {
    display: none;
    margin-bottom: 20px;
}

.filter-dropdown select {
    width: 100%;
    padding: 12px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1em;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid #E0E0E0;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #6BB6FF;
    color: #6BB6FF;
}

.filter-btn.active {
    background: linear-gradient(135deg, #6BB6FF 0%, #9ED9FF 100%);
    color: white;
    border-color: #6BB6FF;
}

.feed-container {
    display: grid;
    gap: 20px;
}

/* Add padding on desktop only */
@media (min-width: 768px) {
    .feed-container {
        padding: 0 60px;
    }
}

@media (min-width: 1024px) {
    .feed-container {
        padding: 0 100px;
    }
}

.feed-post {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.feed-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.post-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    z-index: 1;
}

.badge-new {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: white;
}

.badge-updated {
    background: linear-gradient(135deg, #FF9800, #FFB74D);
    color: white;
}

.photo-container {
    position: relative;
    width: 60%;
    margin: 20px auto 0 auto;
}

.post-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    background: #f9f9f9;
    display: block;
    border-radius: 18px;
}

.photo-count-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.85);
    color: #333;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    z-index: 10;
}

.stuffie-thumbnail .photo-count-badge,
.list-thumbnail .photo-count-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255, 255, 255, 0.85);
    color: #333;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    z-index: 10;
}

.post-content {
    padding: 20px;
}

.post-content h3 {
    color: #FF6B9D;
    margin-bottom: 10px;
}

.post-content p {
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
}

.post-meta {
    padding: 15px 20px;
    background: #F9F9F9;
    font-size: 0.9em;
    color: #999;
}

/* ================================
   STUFFIE GRID/LIST
   ================================ */
.header-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.view-toggle {
    display: flex;
    background: #F0F0F0;
    border-radius: 8px;
    overflow: hidden;
}

.view-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.view-btn.active {
    background: white;
    color: #FF6B9D;
}

.stuffie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.stuffie-grid.hidden {
    display: none;
}

.stuffie-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.stuffie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.stuffie-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #FFE5F0 0%, #E0F4FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF9EC6;
    font-weight: bold;
}

.stuffie-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stuffie-info {
    padding: 15px;
}

.stuffie-info h3 {
    color: #FF6B9D;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.stuffie-info p {
    color: #666;
    font-size: 0.9em;
}

.stuffie-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stuffie-list.hidden {
    display: none;
}

.stuffie-list-item {
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    gap: 15px;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.stuffie-list-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.list-thumbnail {
    position: relative;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    background: linear-gradient(135deg, #FFE5F0 0%, #E0F4FF 100%);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF9EC6;
    font-size: 12px;
    font-weight: bold;
}

.list-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.list-content {
    flex: 1;
}

.list-content h3 {
    color: #FF6B9D;
    margin-bottom: 5px;
}

.list-content p {
    font-size: 0.9em;
    color: #666;
}

/* ================================
   PHOTO UPLOAD & DISPLAY
   ================================ */
.photo-upload-area {
    padding: 20px;
    border: 2px dashed #E0E0E0;
    border-radius: 10px;
    text-align: center;
}

.photo-section {
    text-align: center;
    margin-bottom: 30px;
}

.stuffie-photo-display {
    width: 100%;
    max-width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin: 0 auto;
    display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.no-photo-placeholder {
    width: 100%;
    max-width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #FFE5F0 0%, #E0F4FF 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #FF9EC6;
    font-size: 3em;
}

/* ================================
   RELATIONS
   ================================ */
.relation-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.relation-type,
.related-stuffie {
    flex: 1;
    padding: 10px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1em;
}

.remove-relation-btn {
    background: #FFE5E5;
    color: #FF6B6B;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.remove-relation-btn:hover {
    background: #FF6B6B;
    color: white;
}

.add-relation-btn {
    background: #E8F5E9;
    color: #4CAF50;
    border: 2px dashed #4CAF50;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.add-relation-btn:hover {
    background: #4CAF50;
    color: white;
}

.relations-list {
    margin-top: 20px;
}

.relations-list h4 {
    color: #555;
    margin-bottom: 10px;
}

.relations-list p {
    color: #666;
    line-height: 1.8;
    font-size: 1.05em;
}

/* ================================
   FRIENDS
   ================================ */
.add-friend-section {
    padding: 20px;
    background: #F9F9F9;
    border-radius: 10px;
    margin-bottom: 30px;
}

.add-friend-section h3 {
    color: #333;
    margin-bottom: 15px;
}

.add-friend-form {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.friends-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.friend-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #F9F9F9;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.friend-item:hover {
    background: #F0F0F0;
}

.friend-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.friend-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFE5F0 0%, #E0F4FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #FF9EC6;
    font-weight: bold;
    overflow: hidden;
    flex-shrink: 0;
}

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

.friend-details h4 {
    color: #333;
    margin-bottom: 3px;
}

.friend-details p {
    font-size: 0.85em;
    color: #999;
}

.friend-actions {
    display: flex;
    gap: 10px;
}

.friend-actions .view-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #6BB6FF 0%, #9ED9FF 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.friend-actions .view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(107, 182, 255, 0.4);
}

.friend-actions .remove-btn {
    padding: 10px 20px;
    background: #FFE5E5;
    color: #FF6B6B;
    border: 2px solid #FF6B6B;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.friend-actions .remove-btn:hover {
    background: #FF6B6B;
    color: white;
}

/* ================================
   CONTACT SUPPORT
   ================================ */
.contact-support-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-top: 40px;
}

.contact-support-box h3 {
    margin-top: 0;
    color: white;
}

.contact-support-box p {
    margin-bottom: 20px;
    opacity: 0.9;
}

/* ================================
   HELP CENTER / FAQ
   ================================ */
.help-search {
    margin-bottom: 30px;
}

.help-search input {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 10px;
    transition: border-color 0.3s;
}

.help-search input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.help-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.help-category-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.help-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.faq-section {
    margin-top: 40px;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
    flex: 1;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 20px 20px 20px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ================================
   POLICY PAGES
   ================================ */
.policy-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    line-height: 1.8;
}

.policy-content h2 {
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.policy-content h3 {
    color: #555;
    margin-top: 20px;
    margin-bottom: 10px;
}

.policy-content p {
    color: #666;
    margin-bottom: 15px;
}

.policy-content ul,
.policy-content ol {
    margin-left: 30px;
    margin-bottom: 15px;
}

.policy-content li {
    margin-bottom: 8px;
    color: #666;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.mobile-visible {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding: 70px 15px 15px;
    }

    .overlay {
        display: none;
    }

    .overlay.visible {
        display: block;
    }

    .content-card {
        padding: 20px;
    }

    .content-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .header-controls {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .filter-buttons {
        display: none;
    }

    .filter-dropdown {
        display: block;
    }

    .stuffie-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .stuffie-photo-display {
        width: 100%;
        max-width: 300px;
        height: 300px;
    }

    .form-actions {
        flex-direction: column;
    }

    .relation-item {
        flex-wrap: wrap;
    }

    .relation-item select {
        flex: 1 1 100%;
    }

    .add-friend-form {
        flex-direction: column;
    }

    .add-btn {
        width: 100%;
    }

    .friend-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .friend-info {
        flex-direction: column;
    }

    .help-categories {
        grid-template-columns: 1fr;
    }

    .policy-content {
        padding: 20px;
    }
}

/* ================================
   UTILITY CLASSES
   ================================ */
.text-center {
    text-align: center;
}

.text-muted {
    color: #999;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none !important;
}