/* DevlopStudio - Start Project Page Custom Styles */

/* Range Slider Container */
.range-slider-container {
    padding: 15px 0;
}

/* Range Slider Styling */
.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    transition: all 0.3s ease;
}

.range-slider:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Slider Thumb - Webkit (Chrome, Safari) */
.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--theme-color, #ff6b6b);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.5);
}

/* Slider Thumb - Firefox */
.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--theme-color, #ff6b6b);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.range-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.5);
}

/* Range Value Display */
.range-value-display {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    min-height: 30px;
}

/* Range Labels */
.range-labels {
    margin-top: 10px;
    user-select: none;
}

.range-labels span {
    font-size: 0.75rem;
    text-align: center;
    flex: 1;
}

/* Entry Box Styling (DevlopStudio style) */
.entry-box {
    position: relative;
    margin-bottom: 0;
}

.entry-box input,
.entry-box select,
.entry-box textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.entry-box input:focus,
.entry-box select:focus,
.entry-box textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--theme-color, #ff6b6b);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.entry-box input::placeholder,
.entry-box textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Select Dropdown Styling */
.entry-box select {
    cursor: pointer;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

.entry-box select option {
    background: #1a1a1a;
    color: #ffffff;
    padding: 10px;
}

/* Textarea Styling */
.entry-box textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

/* Form Animation */
.dsn-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s ease forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for form groups */
.form-group.dsn-up:nth-child(1) {
    animation-delay: 0.1s;
}

.form-group.dsn-up:nth-child(2) {
    animation-delay: 0.2s;
}

.form-group.dsn-up:nth-child(3) {
    animation-delay: 0.3s;
}

.form-group.dsn-up:nth-child(4) {
    animation-delay: 0.4s;
}

.form-group.dsn-up:nth-child(5) {
    animation-delay: 0.5s;
}

.form-group.dsn-up:nth-child(6) {
    animation-delay: 0.6s;
}

.form-group.dsn-up:nth-child(7) {
    animation-delay: 0.7s;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .grid-md-2 {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .pricing-card {
        position: static !important;
        padding: 20px !important;
    }

    .range-labels {
        flex-wrap: wrap;
    }

    .range-labels span {
        flex: 0 0 auto;
        min-width: 45px;
    }
}

@media (max-width: 768px) {
    .range-labels span {
        font-size: 0.65rem;
    }

    .range-value-display {
        font-size: 1rem;
    }

    .entry-box input,
    .entry-box select,
    .entry-box textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .range-slider-container {
        padding: 10px 0;
    }

    .pricing-card {
        margin-top: 20px;
    }

    .price-display .title-h2 {
        font-size: 24px !important;
    }

    .action-buttons .dsn-btn {
        padding: 14px 20px !important;
        font-size: 14px !important;
    }

    .info-box,
    #priceNote {
        padding: 12px !important;
    }
}

@media (max-width: 480px) {
    .entry-box input,
    .entry-box select,
    .entry-box textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .sm-title-block {
        font-size: 13px !important;
    }

    .pricing-card h3.title-h3 {
        font-size: 20px !important;
    }

    .price-display .title-h2 {
        font-size: 20px !important;
    }

    .action-buttons .dsn-btn {
        padding: 12px 16px !important;
        font-size: 13px !important;
    }

    .range-labels {
        gap: 5px;
    }

    .range-labels span {
        font-size: 0.6rem;
        min-width: 40px;
    }
}

/* Ensure touch targets are large enough */
@media (max-width: 767px) {
    .entry-box input,
    .entry-box select,
    .entry-box textarea,
    .dsn-btn {
        min-height: 44px;
    }

    .range-slider::-webkit-slider-thumb,
    .range-slider::-moz-range-thumb {
        width: 24px;
        height: 24px;
    }
}