.card {
    margin-bottom: 1.5rem;
}

.table td {
    vertical-align: middle;
}

.alert {
    margin-bottom: 1.5rem;
}

.btn-icon {
    padding: 0.25rem 0.5rem;
}

.navbar {
    margin-bottom: 2rem;
}

.card-header {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Adding visible borders for the dark cards in the dashboard */
.card.bg-dark {
    border: 1px solid #6c757d;
    border-radius: 0.25rem;
}

/* Platform styles */
.platform-tumblr {
    background-color: #36465d;
    color: #ffffff;
}

.platform-substack {
    background-color: #ff6719;
    color: #ffffff;
}

.platform-threads {
    background-color: #000000;
    color: #ffffff;
}

.platform-bluesky {
    background-color: #0085ff;
    color: #ffffff;
}

.platform-rednote {
    background-color: #ff4545;
    color: #ffffff;
}

.platform-noplace {
    background-color: #6c757d;
    color: #ffffff;
}

.platform-lemon8 {
    background-color: #ffde03;
    color: #000000;
}

.platform-googleplay {
    background-color: #01875f;
    color: #ffffff;
}

.platform-appstore {
    background-color: #0066cc;
    color: #ffffff;
}

.profile-picture-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.profile-picture {
    width: 180px; /* Increased from 100px */
    height: 180px; /* Increased from 100px */
    border-radius: 50%;
    object-fit: contain;
    border: 2px solid #fff;
}

.header-with-bg {
    width: 100%;
    height: 350px;
    position: relative;
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    margin-bottom: 0; /* Changed from 20px to remove gap */
    border-bottom: none; /* Ensure no border */
}

.header-with-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

/* Title overlay for background images */
.title-overlay {
    position: absolute;
    bottom: 0; /* Changed from 20% to bottom edge */
    top: auto;
    left: 0;
    right: 0;
    background-color: rgba(33, 37, 41, 0.7);
    padding: 20px 15px;
    text-align: center;
    border-bottom: none;
}

.title-overlay h1 {
    margin-bottom: 5px;
    color: #fff;
    font-weight: 600;
    margin-top: 0; /* Remove any top margin */
}

.title-overlay p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* For pages with background image */
body.has-bg-image {
    min-height: 100%;
    background-color: transparent; /* Ensure body background is transparent */
}

body.has-bg-image .container {
    margin-top: 0; /* Remove top margin */
    padding-top: 20px; /* Add padding instead */
    padding-bottom: 30px;
    background-color: transparent; /* Ensure container background is transparent */
}

/* Adjust the landing page content when using background image */
.landing-page-with-bg {
    position: relative;
    z-index: 2;
    padding-top: 20px;
    background-color: transparent; /* Ensure landing page background is transparent */
}

/* Mobile-specific styles for header image */
@media screen and (max-width: 768px) {
    .header-with-bg {
        height: 250px; /* Reduce header height on mobile */
    }
    
    .title-overlay {
        bottom: auto; /* Override bottom positioning */
        top: 30%; /* Adjust to ensure the title is fully within the black background */
        height: auto; /* Let height be determined by content */
        max-height: 40%; /* Limit height to ensure it doesn't cover too much */
        background-color: rgba(33, 37, 41, 0.95); /* Darker background for better visibility */
        padding-top: 15px; /* Add more top padding */
    }
    
    .title-overlay h1 {
        position: relative;
        top: 5px; /* Nudge the title text down a bit to ensure it's fully in the overlay */
    }
}

/* Add this class for thumbnail deletion */
.force-hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}
