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

/* Fixed Footer for Back Button */
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 8px;
    text-align: center;
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-btn {
    background: none;
    color: white;
    border: none;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 16px;
    transition: color 0.2s ease;
    min-width: 120px;
    text-align: center;
}

.back-btn:hover {
    background: none;
    color: #D2042D;
}

/* Back button on white background (for followers/following pages) */
.page-header .back-btn {
    background: none;
    color: #D2042D;
}

.page-header .back-btn:hover {
    background: none;
    color: #D2042D;
}

/* Back button in create post form */
.create-post-container .back-btn,
.create-post-container-full .back-btn {
    background: none;
    color: #D2042D;
    border: none;
}

.create-post-container .back-btn:hover,
.create-post-container-full .back-btn:hover {
    background: none;
    color: #D2042D;
}

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* Loading and Error Styles */
.initial-loading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #ffffff;
    color: #333;
    font-family: 'Raleway', sans-serif;
    gap: 20px;
}

.auth-loading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #ffffff;
    color: #333;
    gap: 20px;
}

.initial-loading .logo,
.auth-loading .logo {
    font-family: 'Ranchers', cursive;
    font-size: 4rem;
    color: #D2042D;
    margin: 0;
}

.initial-loading p,
.auth-loading p {
    display: none;
}

.loading-bar-container {
    width: 100%;
    max-width: 220px;
    height: 4px;
    background: rgba(210, 4, 45, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.loading-bar {
    width: 100%;
    height: 100%;
    background: #D2042D;
    animation: loading 1.5s ease-in-out infinite;
    transform-origin: left;
}

@keyframes loading {
    0% {
        transform: scaleX(0);
        transform-origin: left;
    }
    50% {
        transform: scaleX(1);
        transform-origin: left;
    }
    51% {
        transform: scaleX(1);
        transform-origin: right;
    }
    100% {
        transform: scaleX(0);
        transform-origin: right;
    }
}

.initial-loading .loading-spinner {
    display: none;
}

.loading-spinner {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #ffffff;
    color: #333;
    padding: 2rem;
}

.error-content {
    text-align: center;
    max-width: 500px;
}

.error-content .logo {
    font-family: 'Ranchers', cursive;
    font-size: 3em;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
}

/* Logo */
.logo {
    font-family: 'Ranchers', cursive;
    color: #D2042D;
    font-size: 2rem;
    font-weight: normal;
    margin: 0;
    height: 40px;
    display: flex;
    align-items: center;
}

/* Authentication Styles */
.auth-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /* Make auth background white; card already has white background */
    background: #ffffff;
    padding: 20px;
    position: relative;
}

/* Auth Navigation */
.auth-nav {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 1rem;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.nav-link:hover {
    background: #f0f0f0;
}

.auth-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: none;
    text-align: center;
    max-width: 450px;
    width: 100%;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.auth-card .logo {
    font-size: 3rem;
    margin-bottom: 0;
}

.tagline {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 0;
    font-weight: 600;
}

.description {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.6;
    text-align: center;
}

/* Supported Platforms */
.supported-platforms {
    display: none;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1rem;
    background: transparent;
    border-radius: 12px;
}

.platform-icon {
    font-size: 1.8rem;
    transition: transform 0.2s ease;
    cursor: help;
}

.platform-icon:hover {
    transform: scale(1.2);
}

/* CTA Section */
.cta-section {
    margin: 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(210, 4, 45, 0.05), rgba(255, 107, 107, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(210, 4, 45, 0.1);
}

.cta-title {
    color: #D2042D;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    display: inline-block;
    max-width: 100%;
    width: auto;
    text-align: center;
}

.cta-text {
    color: #D2042D;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    display: inline-block;
    max-width: 100%;
    width: auto;
    text-align: center;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: white;
    border: 1px solid #dadce0;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-family: 'Raleway', sans-serif;
}

.google-btn:hover {
    background: #f8f8f8;
    border-color: #dadce0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.google-btn img {
    width: 20px;
    height: 20px;
}

/* Sign-in Note */
.signin-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #777;
    line-height: 1.4;
}

.signin-note a {
    color: #D2042D;
    text-decoration: none;
}

.signin-note a:hover {
    text-decoration: underline;
}

/* Auth Footer */
.auth-footer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    background: #fff;
    padding: 1rem 0;
    z-index: 100;
}

.auth-footer .footer-link {
    font-size: 12px;
    border-radius: 12px;
    border: none;
    color: #333;
    text-decoration: none;
    background: none;
    transition: background 0.2s;
}
.auth-footer .footer-link:hover {
    background: #f0f0f0;
}

.auth-footer p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Auth Responsive Styles */
@media (max-width: 768px) {
    .auth-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    .auth-nav {
        position: static;
        margin-bottom: 2rem;
        justify-content: center;
    }

    .auth-card {
        padding: 2rem 1.5rem;
        max-width: 350px;
        margin: 1rem 0;
    }

    .auth-card .logo {
        font-size: 2.5rem;
    }

    .supported-platforms {
        gap: 0.8rem;
    }

    .platform-icon {
        font-size: 1.5rem;
    }

    .cta-section {
        margin: 1.5rem 0 1rem 0;
        padding: 1rem;
    }
}

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

    .auth-nav {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        margin-bottom: 1rem;
    }

    .nav-link {
        text-align: center;
    }

    .auth-card {
        padding: 1.5rem 1rem;
        max-width: 100%;
    }

    .auth-card .logo {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .description {
        font-size: 0.9rem;
    }

    .supported-platforms {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .platform-icon {
        font-size: 1.3rem;
    }
}

/* User Info in Auth */
.user-info {
    margin-bottom: 2rem;
}

.user-info .profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid #D2042D;
}

.user-info p {
    font-size: 1.2rem;
    color: #666;
}

/* Form Styles */
 .form-group {
    margin-bottom: 16px;
    text-align: left;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Raleway', sans-serif;
    transition: border-color 0.3s ease;
}

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

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

.form-group small {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

.error-message {
    color: #ff4444;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    min-height: 0;
}

.error-message:empty {
    display: none;
    margin: 0;
}

button[type="submit"] {
    width: 100%;
    background: #D2042D;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 0;
}

button[type="submit"]:hover:not(:disabled) {
    background: #b8032a;
}

button[type="submit"]:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Main App Layout */
.main-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.header {
    background: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0;
    padding: 0 20px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}

/* Search */
.search-btn {
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: none;
    padding: 0;
}

.search-btn svg {
    width: 22px;
    height: 22px;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    width: 200px;
    height: 40px;
    padding: 0;
}

.search-input {
    width: 100%;
    height: 40px;
    padding: 10px 16px;
    border: 2px solid #D2042D;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: 'Raleway', sans-serif;
    color: #D2042D;
    transition: border-color 0.3s ease;
    margin: 0;
    box-sizing: border-box;
}

.search-input::placeholder {
    color: #D2042D;
    font-family: 'Raleway', sans-serif;
    opacity: 0.7;
}

.search-input:focus {
    outline: none;
    border-color: #D2042D;
}

.close-search-btn {
    background: #f8f8f8;
    border: 2px solid #ddd;
    border-left: none;
    border-radius: 0 25px 25px 0;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.close-search-btn:hover {
    background: #f0f0f0;
    border-color: #D2042D;
    color: #D2042D;
}

.close-search-btn svg {
    width: 20px;
    height: 20px;
}

.search-results {
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1001;
    display: none;
}

.search-results:not(:empty) {
    display: block;
}

.search-result {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-result:hover {
    background: #f8f8f8;
}

.search-result:not(:has(.search-result-avatar)) {
    color: #D2042D;
    font-weight: 500;
    justify-content: center;
    cursor: default;
}

.search-result:not(:has(.search-result-avatar)):hover {
    background: transparent;
}

.search-result-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.search-result-info {
    display: flex;
    flex-direction: column;
}

.search-result-username {
    font-weight: 600;
    color: #D2042D;
    font-size: 12px;
}

.search-result-name {
    font-size: 0.9rem;
    color: #666;
}

.search-result:not(.search-result-username):not(.search-result-name) {
    font-size: 12px;
    color: #666;
    text-align: center;
    justify-content: center;
}

/* Notifications */
.notifications-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0px;
}

.notifications-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    position: relative;
    transition: transform 0.1s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.notifications-btn:active {
    transform: scale(0.95);
}

.create-post-btn {
    background: #fff;
    color: #D2042D;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 2px;
    transition: background 0.2s, color 0.2s;
    padding: 0;
    line-height: 1;
}

.create-post-btn svg {
    width: 26px;
    height: 26px;
}

.notification-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}

.notification-count {
    position: absolute;
    top: 0px;
    right: 0px;
    background: #D2042D;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px;
    font-weight: 600;
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 16px;
    text-align: center;
    box-sizing: border-box;
    display: none;
}

.notifications-dropdown {
    position: absolute;
    top: 48px;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 320px;
    max-width: 400px;
    z-index: 2000;
    display: none;
}

.create-post-btn:active {
    background: #f8f8f8;
    color: #b8032a;
}

.notifications-dropdown.show {
    display: block;
}

.notifications-header {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 1px solid #eee;
}

.notifications-list {
    max-height: 300px;
    overflow-y: auto;
    font-size: 12px;
}

.notification-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    color: #666;
    font-size: 0.9rem;
}

.loading-spinner-small {
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #D2042D;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.notification-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.notification-item:hover {
    background: #f8f8f8;
}

.notification-item.unread {
    background: #f0f8ff;
}

.notification-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.notification-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.notification-message {
    font-weight: 500;
    margin-bottom: 4px;
}

.notification-username {
    color: #D2042D;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.notification-username:hover {
    color: #b8032a;
    text-decoration: underline;
}

.notification-time {
    font-size: 0.85rem;
    color: #666;
}

/* Profile Menu */
.profile-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.profile-pic-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #D2042D;
    transition: border-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-pic-small:hover {
    border-color: #b8032a;
}

.profile-dropdown {
    position: absolute;
    top: 48px;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    display: none;
    min-width: 150px;
}

.profile-dropdown.show {
    display: block;
}

.profile-dropdown a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s ease;
    font-size: 12px;
}

.profile-dropdown a:hover {
    background: #f8f8f8;
}

.profile-dropdown a:first-child {
    border-radius: 10px 10px 0 0;
}

.profile-dropdown a:last-child {
    border-radius: 0 0 10px 10px;
}

.dropdown-separator {
    margin: 8px 0;
    border: none;
    border-top: 1px solid #e0e0e0;
}

.delete-option {
    color: #dc3545 !important;
    font-weight: 500;
}

.delete-option:hover {
    background: #fff5f5 !important;
    color: #c82333 !important;
}

/* Loading animation for delete account */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Main Content Area */
.main-content {
    display: flex;
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Sidebar Navigation */
.sidebar {
    width: 250px;
    padding: 20px;
    background: white;
    border-right: 1px solid #eee;
    height: fit-content;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 15px 20px;
    background: none;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 8px;
    text-align: left;
}

.nav-btn:hover {
    background: #f0f0f0;
}

.nav-btn.active {
    background: #D2042D;
    color: white;
}

.nav-icon {
    font-size: 1.3rem;
}

/* Content Area */
.content-area {
    flex: 1;
    padding: 20px;
    padding-bottom: 50px; /* Add space for fixed footer */
    background: #fff;
}

.page-header {
    background: white;
    padding: 20px;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: none;
    border-bottom: 0;
}

.page-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
}

/* Posts Container */
.posts-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post {
    background: white;
    border-radius: 0;
    padding: 20px;
    box-shadow: none;
    border-top: 1px solid #ffffff;
    transition: transform 0.2s ease;
}

.post:hover {
    transform: none;
    box-shadow: none;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    position: relative;
}

.post-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #D2042D;
}

.post-user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-username {
    font-weight: 600;
    color: #D2042D;
    cursor: pointer;
    transition: color 0.2s ease;
}

.post-username:hover {
    color: #b8032a;
}

.post-timestamp {
    font-size: 0.9rem;
    color: #666;
}

.delete-post-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.delete-post-btn:hover {
    background: transparent;
    color: #ff4444;
}

.post-description {
    margin-bottom: 0;
    margin-top: 15px;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}

.post-content {
    margin-bottom: 0;
}

/* Media Previews */
.media-preview {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 0;
    align-items: center;
}

.media-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.media-info {
    flex: 1;
}

.media-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.media-artist {
    color: #666;
    margin-bottom: 8px;
}

.media-player {
    display: flex;
    align-items: center;
}

.play-btn {
    background: #D2042D;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.play-btn:hover {
    background: #b8032a;
}

.view-btn {
    background: #666;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.view-btn:hover {
    background: #555;
}

/* Enhanced Media Previews with Players */
.spotify-preview,
.youtube-preview,
.soundcloud-preview,
.applemusic-preview {
    flex-direction: column;
    align-items: stretch;
}

.spotify-preview .media-info,
.youtube-preview .media-info,
.soundcloud-preview .media-info,
.applemusic-preview .media-info {
    margin-bottom: 15px;
}

/* Spotify Player */
.spotify-player {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.spotify-player iframe {
    border-radius: 8px;
}

/* YouTube Player */
.youtube-player {
    width: 100%;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* SoundCloud Player */
.soundcloud-player {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.soundcloud-player iframe {
    border-radius: 8px;
}



.fallback-player {
    text-align: center;
    padding: 20px;
}

/* Apple Music Preview */
.applemusic-preview .media-player {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.preview-note {
    margin-top: 8px;
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
}

/* Clean Embed System */
.embed-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin: 10px 0;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
}

.embed-container iframe {
    width: 100%;
    border: none;
    border-radius: 8px;
}

.spotify-embed iframe {
    height: 152px;
}

.youtube-embed .video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.youtube-embed .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.soundcloud-embed iframe {
    height: 166px;
}

.applemusic-embed iframe {
    height: 175px;
}

.twitch-embed iframe {
    height: 315px;
}

.imdb-video-embed iframe {
    height: 315px;
}

.embed-fallback {
    padding: 20px;
    text-align: center;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin: 10px 0;
}

.embed-fallback a {
    color: #D2042D;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid #D2042D;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.2s ease;
}

.embed-fallback a:hover {
    background: #D2042D;
    color: white;
}

.content-display {
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin: 10px 0;
}

.content-info {
    margin-bottom: 15px;
}



.content-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.platform-icon {
    font-size: 1.2em;
    flex-shrink: 0;
}

.title-text {
    font-weight: 600;
    color: #333;
    font-size: 1.1em;
    line-height: 1.3;
}

.content-year {
    color: #666;
    font-weight: normal;
    font-size: 0.95em;
}

.content-author {
    color: #666;
    font-style: italic;
    margin-bottom: 8px;
    padding-left: 28px; /* Align with title text */
}

.platform-label {
    font-size: 0.85em;
    color: #888;
    font-weight: 500;
    padding-left: 28px; /* Align with title text */
}

.display-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.platform-name {
    font-weight: 600;
    color: #333;
}

.display-actions {
    text-align: center;
}

.display-actions .view-btn {
    color: #D2042D;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid #D2042D;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.2s ease;
}

.display-actions .view-btn:hover {
    background: #D2042D;
    color: white;
}

/* IMDB Widget Styles */
.imdb-embed {
    background: linear-gradient(135deg, #f5c518 0%, #e6ac00 100%);
    border: none;
}

.imdb-widget {
    display: flex;
    gap: 15px;
    padding: 20px;
    align-items: flex-start;
}

.imdb-poster {
    flex-shrink: 0;
}

.poster-image {
    width: 100px;
    height: auto;
    max-height: 150px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    object-fit: cover;
}

.imdb-info {
    flex: 1;
    color: #000;
}

.imdb-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.imdb-header .platform-name {
    font-weight: bold;
    font-size: 1.1em;
    color: #000;
}

.imdb-title-container {
    margin-bottom: 15px;
}

.loading-title {
    color: #333;
    font-style: italic;
    font-size: 0.9em;
}

.imdb-actions .view-btn {
    background: #000;
    color: #f5c518;
    border: 2px solid #000;
    font-weight: bold;
}

.imdb-actions .view-btn:hover {
    background: #333;
    color: #f5c518;
}





/* Mobile responsiveness for widgets */
@media (max-width: 480px) {
    .imdb-widget {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .poster-image {
        width: 120px;
        max-height: 180px;
    }
    
    .imdb-info {
        width: 100%;
    }
    

}

/* External Links and Fallbacks */
.external-link {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-block;
    margin-top: 8px;
    padding: 4px 8px;
    border-radius: 12px;
    background: rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.external-link:hover {
    background: rgba(0,0,0,0.1);
    color: #333;
}

.player-fallback {
    text-align: center;
    margin-top: 8px;
}

/* Preview Help Text */
.preview-help {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    text-align: center;
}

/* Enhanced Platform Badges */
.platform-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.platform-badge.spotify {
    background: #1DB954;
}

.platform-badge.youtube {
    background: #FF0000;
}

.platform-badge.soundcloud {
    background: #FF5500;
}

.platform-badge.applemusic {
    background: #FA243C;
}



.platform-badge.imdb {
    background: #F5C518;
    color: #000;
}

/* Movie Actions */
.movie-actions {
    margin-top: 10px;
}

/* Improved Media Titles */
.media-title {
    color: #333;
    font-weight: 600;
    line-height: 1.3;
}

.media-artist {
    color: #666;
    font-size: 0.95rem;
    font-style: italic;
}



/* Movie Preview */
.movie-preview {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 12px;
    align-items: flex-start;
}

.movie-poster {
    width: 60px;
    height: 90px;
    border-radius: 4px;
    object-fit: cover;
}

.movie-info {
    flex: 1;
}

.movie-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.movie-artist {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* Platform Badges */
.platform-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
}

.platform-badge.spotify {
    background: #1DB954;
}

.platform-badge.soundcloud {
    background: #ff5500;
}

.platform-badge.applemusic {
    background: #fc3c44;
}

.platform-badge.youtube {
    background: #ff0000;
}



.platform-badge.imdb {
    background: #f5c518;
    color: #000;
}



.platform-badge.twitch {
    background: #9146ff;
}

/* Post Actions */
.post-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-top: 1px solid #ffffff;
    padding-top: 15px;
    margin-top: 15px;
}

.like-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.like-btn:hover {
    background: transparent;
}

.like-btn.liked {
    background: transparent;
}

.sherry-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.sherry-btn:hover {
    background: transparent;
}

.sherry-btn.sherried {
    background: transparent;
}

.heart {
    font-size: 1.2rem;
}

.sherry-icon {
    width: 22px;
    height: 22px;
}

.like-count {
    font-weight: 500;
    color: #666;
}

.sherry-count {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #999;
}

.sherry-btn.sherried .sherry-count {
    color: #D2042D;
}

/* Create Post Form */
.create-post-container {
    background: white;
    border-radius: 0;
    padding: 30px;
    box-shadow: none;
    margin: 0 auto;
    max-width: 500px;
}

.create-post-container-full {
    background: white;
    border-radius: 0;
    padding: 30px;
    box-shadow: none;
    width: 100%;
    max-width: none;
    display: flex;
    justify-content: center;
}

.create-post-container-full .create-post-form {
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.create-post-container-full .form-group {
    text-align: left;
}



.create-post-form {
    max-width: 600px;
}

.metadata-preview {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-top: 12px;
    margin-bottom: 12px;
    width: 100%;
}

.embed-preview {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    width: 100%;
}

.embed-preview .embed-container {
    margin: 0;
    width: 100%;
    border: none !important;
    background: transparent !important;
}

.embed-preview iframe {
    border-radius: 8px;
    width: 100%;
}

.preview-content {
    display: flex;
    gap: 15px;
    align-items: center;
}

.preview-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.preview-details {
    flex: 1;
}

.preview-details h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

.preview-details p {
    color: #666;
    margin-bottom: 8px;
}

.char-count {
    text-align: right;
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

/* Empty Feed */
.empty-feed {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 0;
    box-shadow: none;
}

.empty-feed h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.empty-feed p {
    color: #666;
    margin-bottom: 20px;
}

.empty-feed button {
    background: #D2042D;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.empty-feed button:hover {
    background: #b8032a;
}

/* Loading Indicator */
.loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.1rem;
}

/* Generic Link Preview */
.generic-preview {
    padding: 15px;
    background: white;
    border-radius: 15px;
    padding: 40px 0;
    text-align: center;
}

.link-preview {
    color: #D2042D;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.link-preview:hover {
    color: #b8032a;
    text-decoration: underline;
}

/* Profile Styles */
.main-content:has(.profile-container) {
    max-width: 100%;
}

.content-area:has(.profile-container) {
    padding: 0;
    max-width: 100%;
}

.profile-container {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    width: 100%;
    margin: 0;
}

.profile-header {
    padding: 30px 20px;
    background: #D2042D;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-height: 280px;
}

.profile-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.profile-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid white;
    flex-shrink: 0;
}

.profile-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.profile-username {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-display-name {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.profile-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    width: 100%;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    min-height: 70px;
}

.stat.clickable {
    transition: opacity 0.2s ease;
}

.stat.clickable:hover {
    opacity: 0.7;
}

.stat-number {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
    height: 1.3rem;
    display: flex;
    align-items: center;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    height: 24px;
    display: flex;
    align-items: center;
}

.stat img {
    height: 24px;
    display: flex;
    align-items: center;
}

.profile-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}

.btn-primary,
.btn-secondary,
.btn-danger {
    padding: 6px 12px;
    border: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 100px;
    text-align: center;
}

.btn-primary {
    background: white;
    color: #D2042D;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-family: 'Raleway', sans-serif;
    backdrop-filter: blur(10px);
    min-width: 120px;
}

.btn-primary:hover {
    background: #f0f0f0;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.btn-primary.following {
    background: #D2042D;
    color: white;
    border: 2px solid white;
}

.btn-primary.following:hover {
    background: #b8032a;
    border-color: white;
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-danger {
    background: #D2042D;
    color: white;
}

.btn-danger:hover {
    background: #b8032a;
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.85rem;
}

/* Followers Section */
.followers-section {
    margin: 20px 0;
    padding: 20px 30px;
    border-top: 1px solid #eee;
}

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

.section-header h3 {
    font-size: 1.3rem;
    color: #333;
}

.followers-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
}

.follower-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.follower-item:hover {
    background: none;
}

.follower-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.follower-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.follower-username {
    font-weight: 600;
    color: #D2042D;
    cursor: pointer;
    transition: color 0.2s ease;
}

.follower-username:hover {
    color: #b8032a;
}

.follower-name {
    font-size: 0.9rem;
    color: #666;
}

/* Profile Posts */
.profile-posts {
    padding: 30px;
}

.profile-posts h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.empty-posts {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Error States */
.error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.error-content {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 0;
    box-shadow: none;
}

.error-content h2 {
    color: #D2042D;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.error-content p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.empty-message,
.error-message {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

.error-message {
    color: #ff4444;
}

/* Real-time Notifications */
.new-posts-notification {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #D2042D;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    animation: slideInDown 0.3s ease;
}

.new-posts-notification button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.new-posts-notification button:hover {
    background: rgba(255, 255, 255, 0.3);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translate(-50%, -100%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .search-input {
        width: 250px;
    }
    .header-actions {
        width: 100%;
        justify-content: space-between;
    }
    .main-content {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        display: flex;
        overflow-x: auto;
        padding: 15px;
        gap: 10px;
    }
    .nav-btn {
        white-space: nowrap;
        min-width: fit-content;
        margin-bottom: 0;
    }
    
    .content-area {
        padding: 15px;
    }
    
    .auth-card {
        padding: 2rem;
        margin: 10px;
    }
    
    .auth-card .logo {
        font-size: 2.5rem;
    }
    
    .media-preview,
    .movie-preview,
    .spotify-preview,
    .youtube-preview,
    .soundcloud-preview,
    .applemusic-preview {
        flex-direction: column;
        text-align: center;
    }

    /* Mobile Player Adjustments */
    .spotify-player iframe {
        height: 120px;
    }

    .video-wrapper {
        padding-bottom: 60%; /* Adjust aspect ratio for mobile */
    }

    .soundcloud-player iframe {
        height: 140px;
    }
    
    .media-thumbnail,
    .movie-poster {
        align-self: center;
    }
    
    .notifications-dropdown,
    .profile-dropdown {
        right: -10px;
        width: 300px;
    }
    
    .search-results {
        left: -10px;
        right: -10px;
        width: auto;
    }
    
    /* Profile Mobile Styles */
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }
    
    .profile-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .profile-avatar {
        width: 80px;
        height: 80px;
    }
    
    .profile-username {
        font-size: 1.5rem;
    }
    
    .profile-stats {
        gap: 20px;
    }
    
    .profile-actions {
        width: 100%;
        justify-content: center;
    }
    
    .followers-section {
        padding: 15px;
    }
    
    .profile-posts {
        padding: 15px;
    }
    
    .follower-item {
        padding: 12px;
    }
    
    .follower-avatar {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .post {
        margin: 0 -10px;
        border-radius: 0;
    }
    
    .page-header {
        margin: 0 -10px 20px -10px;
        border-radius: 0;
    }
    
    .create-post-container {
        margin: 0 -10px;
        border-radius: 0;
    }
    
    .sidebar {
        padding: 10px;
    }
    
    .content-area {
        padding: 10px;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 1.5rem;
    z-index: 10000;
    font-family: 'Raleway', sans-serif;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.9;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: #D2042D;
    color: white;
}

.cookie-accept:hover {
    background: #ff6b6b;
}

.cookie-decline {
    background: transparent;
    color: white;
    border: 2px solid #666;
}

.cookie-decline:hover {
    border-color: white;
}

.cookie-link {
    color: #D2042D;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.cookie-link:hover {
    text-decoration: underline;
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .cookie-btn {
        width: 100%;
    }
}

/* Custom Dialog Styles */
.custom-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.custom-dialog-overlay.show {
    opacity: 1;
}

.custom-dialog {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 380px;
    width: 90%;
    margin: 20px;
    transform: scale(0.9) translateY(-20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.custom-dialog.show {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.custom-dialog-header {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 18px 20px 10px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.custom-dialog-header .custom-dialog-svg {
    display: none;
}

.custom-dialog-title {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.custom-dialog-body {
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.custom-dialog-icon {
    display: none;
}

.custom-dialog-icon .custom-dialog-svg {
    display: none;
}

.custom-dialog-message {
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: #555;
    margin: 0;
    white-space: pre-line;
    width: 100%;
}

.custom-dialog-footer {
    padding: 10px 20px 18px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.custom-dialog-btn {
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 70px;
}

.custom-dialog-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(210, 4, 45, 0.2);
}

.custom-dialog-btn-confirm {
    background: #D2042D;
    color: white;
}

.custom-dialog-btn-confirm:hover {
    background: #b50327;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(210, 4, 45, 0.3);
}

.custom-dialog-btn-cancel {
    background: #f5f5f5;
    color: #666;
}

.custom-dialog-btn-cancel:hover {
    background: #e8e8e8;
    color: #333;
}

/* Dialog type-specific colors - minimal styling */
.custom-dialog-success .custom-dialog-header,
.custom-dialog-error .custom-dialog-header,
.custom-dialog-warning .custom-dialog-header,
.custom-dialog-info .custom-dialog-header,
.custom-dialog-confirm .custom-dialog-header {
    border-bottom-color: #f0f0f0;
}

/* Responsive dialog */
@media (max-width: 480px) {
    .custom-dialog {
        max-width: 95%;
        margin: 10px;
    }

    .custom-dialog-header {
        padding: 16px 18px 8px 18px;
    }

    .custom-dialog-body {
        padding: 16px 18px;
    }

    .custom-dialog-footer {
        padding: 8px 18px 16px 18px;
        flex-direction: column-reverse;
    }

    .custom-dialog-btn {
        width: 100%;
    }

    .custom-dialog-title {
        font-size: 14px;
    }

    .custom-dialog-message {
        font-size: 12px;
    }
}