/* SkylarkAds Admin Forms CSS
 * General form styling for admin pages
 * Replaces inline style attributes for better WordPress compliance
 */

/* Stats Page Styling */
.skylarkads-stats__chart-container {
    width: 100%;
    height: 400px;
}

.skylarkads-stats__custom-range {
    display: none;
}

.skylarkads-stats__loading {
    display: none;
}

.skylarkads-stats__separator {
    margin: 40px 0;
}

/* Chart Container Specific Styles */
#views-chart-container.skylarkads-stats__custom-range,
#clicks-chart-container.skylarkads-stats__custom-range {
    display: none;
}

#custom-range.skylarkads-stats__custom-range {
    display: none;
}

#advanced-analytics-loading.skylarkads-stats__loading {
    display: none;
}

/* Banner Display Positioning */
.skylarkads-banner__container {
    position: relative;
}

.skylarkads-banner__content {
    position: relative;
    width: 100%;
    height: 100%;
}

.skylarkads-banner__image {
    position: absolute;
    z-index: 1;
}

.skylarkads-banner__title {
    position: absolute;
    z-index: 3;
    font-size: 2em;
    font-weight: bold;
}

.skylarkads-banner__subtitle {
    position: absolute;
    z-index: 3;
    font-size: 1.2em;
}

.skylarkads-banner__cta {
    position: absolute;
    z-index: 3;
}

/* Gutenberg Block Styling */
.skylarkads-gutenberg__container {
    position: relative;
    overflow: hidden;
}

.skylarkads-gutenberg__image {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.skylarkads-gutenberg__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skylarkads-gutenberg__title {
    position: absolute;
    z-index: 3;
    font-size: 2em;
    font-weight: bold;
}

.skylarkads-gutenberg__subtitle {
    position: absolute;
    z-index: 3;
    font-size: 1.2em;
}

.skylarkads-gutenberg__cta {
    position: absolute;
    z-index: 3;
}

/* Banner Simple Styling */
.skylarkads-gutenberg-banner-simple {
    position: relative;
}

.skylarkads-gutenberg-banner-simple__background {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.skylarkads-gutenberg-banner-simple__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Interactive Banner Elements */
.skylarkads-banner__draggable-title {
    position: absolute;
    background: rgba(0,0,0,0.7);
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    padding: 10px;
    border-radius: 4px;
    z-index: 10;
    pointer-events: auto;
}

.skylarkads-banner__draggable-description {
    position: absolute;
    background: rgba(0,0,0,0.7);
    color: #ffffff;
    font-size: 16px;
    padding: 10px;
    border-radius: 4px;
    max-width: 300px;
    white-space: pre-wrap;
    z-index: 10;
    pointer-events: auto;
}

.skylarkads-banner__draggable-cta {
    position: absolute;
    z-index: 10;
    pointer-events: auto;
}

.skylarkads-banner__cta-button {
    background: #007cba;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

/* Iframe Styling */
.skylarkads-banner__iframe {
    border: none;
    width: 100%;
}
