/* FileFactory Local Ad System Styles */

/* Wallpaper background */
#ff-wallpaper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 1;
    cursor: pointer;
    background-color: transparent;
}

/* Layout adjustments */
#wp-body-layout {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    padding: 20px;
}

.wp-body-center {
    position: relative;
    border-radius: 4px;
    padding: 30px;
    margin-left: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Promo content */
#ff-wp-promo {
    text-align: center;
    color: #fff;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#ff-wp-promo-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#ff-wp-promo-logo {
    margin-bottom: 20px;
}

#ff-wp-promo-logo img {
    max-width: 200px;
    height: auto;
}

#ff-wp-promo-body {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 25px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
}

#ff-wp-promo-action {
    display: none !important;
    padding: 12px 30px;
    background: #D5393B;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

#ff-wp-promo-action:hover {
    background: #E54B4D;
}

/* Item image */
#ff-wp-item img {
    max-width: 100%;
    height: auto;
}

/* Custom item states */
html.custom-item #ff-wp-item {
    display: block;
}

html.no-custom-item #ff-wp-item {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #wp-body-layout {
        padding: 10px;
    }

    .wp-body-center {
        margin-left: 0;
        padding: 20px;
    }

    #ff-wp-promo-headline {
        font-size: 24px;
    }

    #ff-wp-promo-body {
        font-size: 18px;
        text-align: center;
    }

    #ff-wp-promo-action {
        width: 100%;
        max-width: 300px;
    }

    /* Hide center layout on mobile */
    #wp-body-layout-center {
        display: none !important;
    }

    /* Position file info box higher on mobile */
    #wp-body {
        position: relative !important;
        top: 100px !important;
    }

    #wp-body-layout-top {
        position: relative !important;
    }

    .wp-body-left {
        margin-top: 0 !important;
        position: relative !important;
    }
} 