/* Ad Slots */
.ad-slot {
    text-align: center;
}

.ad-slot-top {
    padding: 10px 0;
    background: #f0fdf9;
}

.ad-slot-bottom {
    padding: 10px 0;
    background: #f0fdf9;
}

.ad-slot-inline {
    padding: 15px 0;
}

.ad-placeholder {
    min-height: 90px;
    max-width: 728px;
    margin: 0 auto;
}

.ad-placeholder:empty {
    display: none;
}

@media (max-width: 768px) {
    .ad-placeholder {
        min-height: 60px;
        max-width: 100%;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0d9488 0%, #2dd4bf 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
}

.hero-section .btn-light {
    color: #0d9488;
    transition: transform 0.2s;
}

.hero-section .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Feature Icons */
.feature-icon i {
    transition: transform 0.2s;
}

.feature-icon:hover i {
    transform: scale(1.1);
}

/* Card Styling */
.card {
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-header.bg-primary {
    background: linear-gradient(135deg, #0d9488, #14b8a6) !important;
}

/* Template Selection */
.btn-check:checked + .btn-outline-primary {
    background: linear-gradient(135deg, #0d9488, #2dd4bf);
    border-color: #0d9488;
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

/* Resume Preview Container */
.resume-preview-container {
    max-width: 800px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.template-preview-frame {
    width: 100%;
    height: 1050px;
    border: none;
    display: block;
}

/* Footer */
footer {
    margin-top: auto;
}

/* Body min-height for sticky footer */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Template Cards */
.template-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.template-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Color Swatches */
.color-swatch-label {
    cursor: pointer;
    text-align: center;
    min-width: 70px;
}

.color-swatch {
    width: 60px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    border: 3px solid transparent;
    margin: 0 auto;
    transition: border-color 0.2s, transform 0.2s;
}

.btn-check:checked + .color-swatch {
    border-color: #14b8a6;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.3);
}

.swatch-primary {
    display: block;
    width: 100%;
    height: 60%;
}

.swatch-accent {
    display: block;
    width: 100%;
    height: 40%;
}

/* Accordion FAQ */
.accordion-button:not(.collapsed) {
    background-color: #f0fdf9;
    color: #0d9488;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(45, 212, 191, 0.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 300px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }
}
