/* Quote Builder Styles */
.quote-builder-form {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.quote-builder-form:hover {
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

/* Section Headers */
.section-header {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd, #0dcaf0);
    border-radius: 3px;
}

/* Bucket Selection */
.bucket-selection {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1rem 0;
}

.bucket {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    border: 1px solid var(--bs-light);
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
}

.bucket:hover {
    border-color: var(--bs-primary);
}

.bucket.selected {
    border-color: var(--bs-primary);
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.bucket i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.bucket-price {
    font-weight: 500;
}

/* Bucket colors */
.bucket-easy {
    color: #28a745;
}

.bucket-medium {
    color: #ffc107;
}

.bucket-hard {
    color: #dc3545;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .bucket-selection {
        margin: 0.5rem 0;
        flex-direction: column;
        align-items: stretch;
    }
    
    .bucket {
        min-width: 100%;
        padding: 0.5rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .bucket i {
        font-size: 1.25rem;
        margin-bottom: 0;
        margin-right: 0.5rem;
    }
    
    .bucket-price {
        font-size: 0.875rem;
    }
}

/* Dynamic Sections */
.dynamic-section {
    margin-bottom: 2rem;
}

.add-item-btn {
    background-color: transparent;
    border: 1px solid #0d6efd;
    color: #0d6efd;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.add-item-btn:hover {
    background-color: #0d6efd;
    color: white;
}

.remove-item-btn {
    color: #dc3545;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item-btn:hover {
    background: rgba(220, 53, 69, 0.1);
    border-color: #dc3545;
}

.remove-item-btn i {
    color: #dc3545;
}

/* Form Elements */
.form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
    opacity: 1; /* Firefox */
}

.form-control::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.6);
    opacity: 1;
}

.form-control:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.6);
    opacity: 1;
}

.form-control::-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.6);
    opacity: 1;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Script and Page Sections */
.script-section, .page-section {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.script-section:hover, .page-section:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* Checkboxes */
.form-check-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-check-label {
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-check-input:checked + .form-check-label {
    color: #0d6efd;
}

/* Quote Preview */
.quote-preview {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.quote-preview h4 {
    color: #fff;
    font-weight: 600;
}

.quote-preview span {
    color: #0d6efd;
    font-weight: 700;
}

.quote-preview hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
}

/* Submit Button */
/* .btn-primary {
    background: linear-gradient(90deg, #0d6efd, #0dcaf0);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
} */

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

.page-name, .script-name {
    width: 200px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .quote-builder-form {
        padding: 1.5rem;
    }
    
    .script-section, .page-section {
        padding: 1rem;
    }
    
    .quote-preview {
        padding: 1.5rem;
    }

    .bucket-selection {
        flex-direction: column;
    }
    .quote-text-holder{
        min-width: 100%;
    }
    .page-name, .script-name {
        width: 100%;
    }

    .remove-item-btn{
        align-self: center !important;
        margin-top: 10px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.script-section, .page-section, .quote-preview {
    animation: fadeIn 0.5s ease forwards;
}

/* Tooltips */
.tooltip-icon {
    color: #0d6efd;
    margin-left: 0.5rem;
    cursor: help;
}

/* Complexity Indicators */
.complexity-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.complexity-easy {
    background-color: #28a745;
}

.complexity-medium {
    background-color: #ffc107;
}

.complexity-hard {
    background-color: #dc3545;
}

#estimatedCost, #estimatedTimeline {
    color: #0d6efd;
    font-weight: 600;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.form-step.active {
    display: block;
}

.progress {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.progress-bar {
    background-color: #0d6efd;
    transition: width 0.3s ease-in-out;
}

.form-navigation {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
} 