/* Base styles and variables */
:root {
    --primary-color: #00BFFF;
    --secondary-color: #0093E9;
    --shadow-color: rgba(0, 191, 255, 0.15);
}

/* Page layout */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: rgb(249, 250, 251); /* bg-gray-50 equivalent */
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 60px; /* Height of footer + accent line */
}

/* Header */
.site-header {
    padding: 1rem 0;
    flex-shrink: 0;
}

/* Main content */
.site-main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 0; /* Important for Firefox */
}

/* Iframe container */
.iframe-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 200px); /* Adjust based on header + footer height */
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1.5rem;
}

/* Footer */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgb(249, 250, 251);
    z-index: 10;
}

/* Gradient elements */
.gradient-accent {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

.accent-line {
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Card styles */
.card-shadow {
    box-shadow: 0 25px 50px -12px var(--shadow-color);
    height: 100%;
}

/* Gradient animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsive styles */
@media (max-width: 768px) {
    .page-wrapper {
        padding-bottom: 80px; /* Slightly larger padding for mobile */
    }

    .iframe-container {
        height: calc(100vh - 250px); /* Adjusted for mobile header/footer */
        min-height: 600px;
    }
    
    .iframe-container iframe {
        position: relative;
        height: 100%;
    }
}

/* Ensure full height for the page */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Disable scrolling */
}

.page-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}


.accent-line {
    height: 4px;
    background: linear-gradient(to right, #ff7e5f, #feb47b); /* Replace with your gradient */
}

.gradient-accent {
    background: linear-gradient(to bottom right, #ff7e5f, #feb47b); /* Replace with your gradient */
}

.card-shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
}