/* Custom styles for form inputs */
.form-input, .form-textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #4b5563;
    border-radius: 0.375rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-input:focus, .form-textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Preview pane styles */
.preview-content {
    font-size: 14px;
    line-height: 1.6;
}

/* Template card hover effect */
.template-card {
    transition: transform 0.2s ease;
}

.template-card:hover {
    transform: translateY(-4px);
}

/* Hide scrollbar but keep functionality */
.preview-content::-webkit-scrollbar {
    width: 6px;
}

.preview-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.preview-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.preview-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Smooth transitions for step changes */
.step-content {
    transition: opacity 0.3s ease;
}

.step-content.hidden {
    display: none;
    opacity: 0;
}

/* Print styles */
@media print {
    body * {
        visibility: hidden;
    }
    
    #resumePreview, #resumePreview * {
        visibility: visible;
    }
    
    #resumePreview {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
}

/* Section navigation buttons */
.section-nav-btn {
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-nav-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #4f46e5;
}

.section-nav-btn:hover {
    transform: translateY(-2px);
}

.section-nav-btn.active {
    transform: translateY(-1px);
    outline: 2px solid #4f46e5;
    outline-offset: 2px;
}

/* Resume sections */
.resume-section {
    transition: opacity 0.3s ease;
}

.resume-section.hidden {
    display: none;
    opacity: 0;
}

/* Section navigation scroll */
.section-nav-scroll {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    position: relative;
}

.section-nav-scroll::-webkit-scrollbar { /* WebKit */
    width: 0;
    height: 0;
}

/* Scroll Arrows */
.scroll-arrow {
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    background-color: rgba(255, 255, 255, 0.95);
}

.scroll-arrow.opacity-0 {
    opacity: 0;
}

.scroll-arrow.pointer-events-none {
    pointer-events: none;
}

/* Mobile tabs */
.mobile-tab {
    transition: all 0.3s ease;
}

.mobile-tab.active {
    background: #00BFA6;
}

/* Mobile and Tablet styles */
@media (max-width: 1023px) {
    .mobile-section {
        transition: opacity 0.3s ease;
    }

    .mobile-section.hidden {
        display: none;
        opacity: 0;
    }

    /* Hide scrollbar but keep functionality */
    .section-nav-scroll {
        margin: 0 -1rem;
        padding: 0 1rem;
        /* Add padding for arrows */
        padding-left: 3rem;
        padding-right: 3rem;
    }

    /* Stack navigation buttons */
    .flex-col {
        width: 100%;
    }

    .section-nav-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Main container padding for sticky footer */
body {
    padding-bottom: 5rem; /* Adjust based on footer height */
}

/* Sticky Footer */
.fixed {
    backdrop-filter: blur(8px);
}

@media (max-width: 640px) {
    .fixed {
        padding-left: 1rem;
        padding-right: 1rem;
    }
} 