/* Main Styles for CV Builder */

/* Template Card Styles */
.template-card {
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.template-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.template-img {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f8f9fa;
    padding: 15px;
}

.premium-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--bs-warning);
    color: #fff;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: bold;
    z-index: 10;
}

.success-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--bs-success);
    color: #fff;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: bold;
    z-index: 10;
}

/* Resume Preview Styles */
.resume-preview {
    border: 1px solid #dee2e6;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-height: 600px;
    overflow-y: auto;
}

.premium-preview {
    max-height: 800px !important;
}

.resume-preview-thumb {
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.preview-header {
    height: 40px;
    background-color: #f1f1f1;
    margin-bottom: 10px;
}

.preview-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.preview-section {
    height: 30px;
    background-color: #f1f1f1;
}

/* Purchase Button Styles */
.purchase-btn {
    transition: all 0.3s ease;
}

.purchase-btn:hover {
    transform: scale(1.05);
}

/* Package Cards */
.package-card {
    transition: all 0.3s ease;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Premium Template Overlay */
.premium-template-container {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.premium-overlay {
    backdrop-filter: blur(3px);
}

/* Resume Form Styles */
.form-section {
    margin-bottom: 2rem;
}

.form-section-title {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.add-item-btn {
    margin-top: 1rem;
}

.item-card {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #f8f9fa;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .template-img {
        height: 180px;
    }
}
