/* Price Estimator Section - Base Styles */
#price-estimator,
.price-estimator-section,
#card-selection-view {
    max-width: 1320px;
    margin: 0 auto;
}

.price-estimator-wrapper {
    width: 100%;
    max-width: 1320px;
    margin: 0 24px;
    padding: 0 2rem;
}

.price-estimator-section {
    position: relative;
    width: 100%;
    color: #e5e7eb;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.price-estimator-section *,
.price-estimator-section *::before,
.price-estimator-section *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.price-estimator-section .container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}

.price-estimator-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.price-estimator-section .section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.price-estimator-section .section-header p {
    font-size: 1.125rem;
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto;
}

/* Price Estimator Section */
#price-estimator {
    padding: 5rem 0 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.price-estimator-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Price Estimator Grid */
.price-estimator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 3rem;
    margin: 3rem auto 0;
    width: 100%;
    max-width: 1800px;
    padding: 0 2rem;
}

/* Cards */
.price-estimator-card {
    background: #0a0a0a;
    border: 1px solid #2d2d2d;
    border-radius: 0.5rem;
    padding: 3rem;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    min-height: 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

/* Make only Discord Bot card clickable */
#discordBot {
    cursor: pointer;
}

/* Disable hover effects for non-clickable cards */
.price-estimator-card:not(#discordBot) {
    cursor: not-allowed;
    opacity: 0.8;
}

.price-estimator-card:hover {
    transform: translateY(-2px);
    border-color: #4b4b4b;
    background: #111111;
}

.price-estimator-card:active {
    transform: translateY(0);
}

.price-estimator-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.price-estimator-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.price-estimator-icon {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    background: #000000;
    border: 1px solid #2d2d2d;
    flex-shrink: 0;
}

.price-estimator-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #e5e5e5;
}

.price-estimator-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.price-estimator-card p {
    color: #9ca3af;
    margin: 0.75rem 0 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    flex-grow: 1;
}

/* Button styles */
.price-estimator-card .custom-button {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-weight: 500;
    padding: 4px 16px;
    transition: background-color 0.2s ease;
    min-width: 130px;
    width: 100%;
    outline: none;
    position: relative;
    margin: 0;
    cursor: pointer;
    line-height: 1;
    font-size: 14px;
    font-family: Arial, sans-serif;
    height: 37px !important;
    padding: 0 16px !important;
    min-height: 37px !important;
}

/* Disabled button styles */
.price-estimator-card .custom-button:disabled {
    background-color: #1a1a1a !important;
    color: #4a4a4a !important;
    border-color: #2d2d2d !important;
    cursor: not-allowed;
}

/* Secondary button styles (default) */
.price-estimator-card .custom-button.secondary {
    background-color: rgb(9,9,11);
    color: white;
    font-family: Arial;
    font-size: 14px;
    border: 1px solid rgb(39,39,42);
}

.price-estimator-card .custom-button.secondary:hover {
    background-color: rgb(39,39,42);
}

/* Primary button styles */
.price-estimator-card .custom-button.primary {
    background-color: rgb(250,250,250);
    color: black;
    font-family: Arial;
    font-size: 14px;
    border: none;
}

.price-estimator-card .custom-button.primary:hover {
    background-color: rgba(250,250,250,0.7);
}

.price-estimator-card .custom-button:active {
    transform: none;
}

/* Ensure the button is at the bottom of the card */
.price-estimator-card > .custom-button {
    margin-top: auto;
    margin-bottom: 0;
}

/* Content Container */
#content-container {
    position: relative;
    min-height: 300px;
}

#card-selection-view,
#estimator-views {
    transition: all 0.3s ease-in-out;
}

#card-selection-view.hidden,
#estimator-views.hidden {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(10px);
}

#estimator-views.hidden {
    display: none;
}

/* Back Button */
.back-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 0;
    cursor: pointer;
    transition: color 0.2s ease;
    margin-bottom: 1.5rem;
}

.back-button:hover {
    color: #ffffff;
}

.back-button svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .price-estimator-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .price-estimator-section .section-header {
        margin-bottom: 2.5rem;
    }
    
    .price-estimator-section .section-header h2 {
        font-size: 1.75rem;
    }
}

/* Extras Section - Mobile First */
.price-estimator-form-group > div[style*="grid-template-columns"] {
    display: flex !important;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

/* API Integrations (Left Side) */
.price-estimator-form-group > div[style*="grid-template-columns"] > .price-estimator-input-group {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Extras (Right Side) */
.price-estimator-form-group > div[style*="grid-template-columns"] > div:not(.price-estimator-input-group) {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

/* Desktop Layout */
@media (min-width: 768px) {
    .price-estimator-form-group > div[style*="grid-template-columns"] {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
        gap: 1rem;
        min-height: 0;
    }
    
    .price-estimator-form-group > div[style*="grid-template-columns"] > .price-estimator-input-group {
        height: 100%;
    }
    
    .price-estimator-form-group > div[style*="grid-template-columns"] > .price-estimator-input-group > .price-estimator-feature-group {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    /* Make the extras container match the height of the API integrations */
    .price-estimator-form-group > div[style*="grid-template-columns"] > div:not(.price-estimator-input-group) {
        height: 100%;
    }
    
    /* Target the direct children of the extras container */
    .price-estimator-form-group > div[style*="grid-template-columns"] > div:not(.price-estimator-input-group) > * {
        flex: 1;
        min-height: 0;
    }
    
    /* Ensure the checkboxes take up equal space */
    .price-estimator-form-group > div[style*="grid-template-columns"] > div:not(.price-estimator-input-group) > .price-estimator-feature-item {
        flex: 1;
        display: flex;
        align-items: center;
    }
}

/* Price Estimator Form Container */
.price-estimator-form-container {
    background: #0a0a0a;
    border-radius: 0.5rem;
    border: 1px solid #2d2d2d;
    overflow: hidden;
    margin: 3rem 0;
    width: 100%;
    box-sizing: border-box;
    padding: 2rem;
}

@media (max-width: 768px) {
    .price-estimator-form-container {
        padding: 1.5rem;
        margin: 2rem 1rem;
        width: calc(100% - 2rem);
    }
}

@media (min-width: 480px) {
    .price-estimator-section {
        padding: 2rem 0.5rem;
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .price-estimator-section {
        padding: 3rem 1rem;
    }
}

@media (min-width: 1024px) {
    .price-estimator-section {
        padding: 4rem 1.5rem;
    }
}

.price-estimator-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 360px) {
    .price-estimator-section .container {
        padding: 0 0.75rem;
    }
}

@media (min-width: 640px) {
    .price-estimator-section .container {
        padding: 0 1rem;
    }
}

.price-estimator-section .projects-header {
    text-align: center;
    margin-bottom: 80px;
}

.price-estimator-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.price-estimator-section .section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.price-estimator-section .section-header p {
    font-size: 1.1rem;
    color: #9ca3af;
    max-width: 42rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .price-estimator-section .section-header h2 {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
        padding: 0;
    }
    
    .price-estimator-section .section-header p {
        font-size: 1.25rem;
        padding: 0;
    }
}

/* Card Grid */
.price-estimator-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0 0.25rem;
    margin: 0 auto;
    box-sizing: border-box;
    width: 100%;
}

@media (min-width: 768px) {
    .price-estimator-grid {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
    }
}

@media (min-width: 1024px) {
    .price-estimator-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

/* For very small devices (below 360px) */
@media (max-width: 359px) {
    .price-estimator-grid {
        padding: 0 0.25rem;
        gap: 0.75rem;
    }
    
    .price-estimator-card {
        min-height: 160px;
    }
}

/* For small mobile devices (360px - 479px) */
@media (min-width: 360px) and (max-width: 479px) {
    .price-estimator-grid {
        grid-template-columns: 1fr;
        padding: 0 0.75rem;
        gap: 0.75rem;
    }
    
    .price-estimator-card {
        min-height: 170px;
    }
}

/* For larger mobile devices (480px and up) */
@media (min-width: 480px) and (max-width: 639px) {
    .price-estimator-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
}

@media (min-width: 768px) {
    .price-estimator-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0;
    }
}

@media (min-width: 1024px) {
    .price-estimator-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.5rem;
    }
}

/* Cards */
.price-estimator-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #2d2d2d;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    box-sizing: border-box;
    width: 100%;
}

.price-estimator-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #f3f3f3;
}

.price-estimator-card-content {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.price-estimator-icon {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    min-height: 3rem;
    border-radius: 50%;
    background: rgb(0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.price-estimator-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #ffffff;
}

.price-estimator-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #f3f4f6;
    line-height: 1.25;
}

.price-estimator-card p {
    color: #9ca3af;
    margin: 0 0 1.5rem 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    flex: 1;
}

.price-estimator-card button {
    margin: 1rem 0.5rem 0.5rem;
    width: calc(100% - 1rem);
    padding: 0.75rem 0.5rem;
    font-size: 0.9375rem;
    min-height: 44px; /* Better touch target */
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .price-estimator-card button {
        margin: 1rem 1.5rem 1.5rem;
        width: calc(100% - 3rem);
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
}

/* Back Button */
.mb-8 {
    margin-bottom: 1.5rem;
    padding: 0 1rem;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.back-button:hover {
    color: #e5e7eb;
}

.back-button .icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Responsive padding to match form container */
@media (min-width: 768px) {
    .mb-8 {
        padding: 0 2rem;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Form Container */
.price-estimator-form-container {
    background-color: rgba(12, 12, 12, 0.603);
    border: 1px solid #515151;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    font-size: 0.9375rem;
}

@media (min-width: 768px) {
    .price-estimator-form-container {
        max-width: 1200px;
        font-size: 1rem;
    }
}

.price-estimator-form-container:hover {
    border-color: #606060;
}

.price-estimator-form-header {
    position: relative;
    padding: 1.25rem 1rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    background: rgba(0, 0, 0, 0.2);
}

@media (min-width: 640px) {
    .price-estimator-form-header {
        padding: 1.5rem 1.25rem;
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .price-estimator-form-header {
        padding: 1.75rem 2rem;
    }
}

.price-estimator-form-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 1px;
    background-color: #404040;
}

.price-estimator-form-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1f1f1f;
    border-radius: 0.5rem;
    border: 1px solid #404040;
    padding: 0.5rem;
}

.price-estimator-form-header-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price-estimator-form-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #f5f5f5;
}

.price-estimator-form-header p {
    margin: 0;
    font-size: 0.875rem;
    color: #a3a3a3;
    line-height: 1.4;
}

.price-estimator-form-header h3 {
    font-size: 1.875rem;
    font-weight: 600;
}

.price-estimator-form-header p {
    color: #9ca3af;
    font-size: 1.125rem;
}

.price-estimator-form-content {
    padding: 1rem;
    display: grid;
    gap: 1.25rem;
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 480px) {
    .price-estimator-form-content {
        padding: 1.25rem;
    }
}

@media (min-width: 768px) {
    .price-estimator-form-content {
        padding: 1.5rem;
    }
}

@media (min-width: 768px) {
    .price-estimator-form-content {
        padding: 2rem;
        gap: 2.5rem;
    }
}

/* Form Elements */
.price-estimator-form-group {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    width: 100%;
    box-sizing: border-box;
}

.price-estimator-form-group label {
    font-weight: 500;
    color: #e5e7eb;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.price-estimator-form-group input[type="text"],
.price-estimator-form-group input[type="number"],
.price-estimator-form-group select,
.price-estimator-form-group textarea {
    width: 100%;
    padding: 0.625rem 0.75rem;
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid #404040;
    border-radius: 0.375rem;
    color: #f3f4f6;
    font-size: 0.9375rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    max-width: 100%;
}

.price-estimator-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.price-estimator-form-group input[type="text"]:focus,
.price-estimator-form-group input[type="number"]:focus,
.price-estimator-form-group select:focus,
.price-estimator-form-group textarea:focus,
.price-estimator-status-controls select:focus,
.price-estimator-status-controls input[type="text"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.5);
}

@media (min-width: 768px) {
    .price-estimator-form-group {
        gap: 0.875rem;
        margin-bottom: 1.5rem;
    }
    
    .price-estimator-form-group label {
        font-size: 1rem;
    }
}

/* Feature Group Styling */
.price-estimator-feature-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 0.75rem;
    width: 100%;
    box-sizing: border-box;
}

/* Feature Items Styling */
.price-estimator-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    width: 100%;
    margin: 0.5rem 0;
}

.price-estimator-feature-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(30, 30, 30, 0.5);
    border: 1px solid #404040;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.price-estimator-feature-item:hover {
    background: rgba(40, 40, 40, 0.7);
    border-color: #606060;
}

.price-estimator-feature-item input[type="checkbox"] {
    margin-right: 0.75rem;
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

.price-estimator-feature-item label {
    flex: 1;
    margin: 0;
    cursor: pointer;
    font-size: 0.9375rem;
    color: #e5e7eb;
    font-weight: normal;
}

.price-estimator-feature-price {
    margin-left: auto;
    padding-left: 0.5rem;
    color: #9ca3af;
    font-size: 0.9375rem;
    font-weight: 500;
}

@media (min-width: 480px) {
    .price-estimator-feature-group {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .price-estimator-feature-group {
        gap: 1.25rem;
    }
}

/* Input Group Styling */
.price-estimator-input-group {
    background: rgba(30, 30, 30, 0.5);
    border: 1px solid #404040;
    border-radius: 0.5rem;
    padding: 0.75rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

@media (min-width: 480px) {
    .price-estimator-input-group {
        padding: 1rem;
    }
}

@media (min-width: 480px) {
    .price-estimator-input-group {
        padding: 1rem;
    }
}

.price-estimator-input-group:hover {
    border-color: #606060;
    background: rgba(40, 40, 40, 0.6);
}

.price-estimator-input-group label {
    display: block;
    color: #e5e7eb;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.4;
}

.price-estimator-input-group input[type="checkbox"] {
    margin-right: 0.5rem;
}

.price-estimator-input-group .checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9375rem;
    color: #e5e7eb;
    margin: 0.25rem 0;
}

.price-estimator-input-group .checkbox-label input[type="checkbox"] {
    width: 1.1em;
    height: 1.1em;
    margin-right: 0.5rem;
}

/* Status Controls */
.price-estimator-status-controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.price-estimator-status-controls select,
.price-estimator-status-controls input[type="text"] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: rgba(20, 20, 20, 0.7);
    border: 1px solid #404040;
    border-radius: 0.375rem;
    color: #e5e7eb;
    font-size: 0.9375rem;
    box-sizing: border-box;
    height: 42px;
}

@media (min-width: 480px) {
    .price-estimator-status-controls {
        flex-direction: row;
        align-items: center;
    }
    
    .price-estimator-status-controls select,
    .price-estimator-status-controls input[type="text"] {
        width: auto;
        min-width: 120px;
    }
}

.price-estimator-status-controls select,
.price-estimator-status-controls input[type="text"] {
    flex: 1;
    background: rgba(20, 20, 20, 0.7);
    border: 1px solid #404040;
    color: #e5e7eb;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.price-estimator-status-controls select:focus,
.price-estimator-status-controls input[type="text"]:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2);
}

/* Color Input Styling */
.price-estimator-input-group input[type="color"] {
    width: 100%;
    height: 40px;
    padding: 0.25rem;
    background: rgba(20, 20, 20, 0.7);
    border: 1px solid #404040;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.price-estimator-input-group input[type="color"]:hover {
    border-color: #606060;
}

.price-estimator-input-group input[type="color"]:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .price-estimator-status-controls {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .price-estimator-status-controls select,
    .price-estimator-status-controls input[type="text"],
    .price-estimator-input-group input[type="number"],
    .price-estimator-input-group input[type="text"],
    .price-estimator-input-group textarea,
    .price-estimator-input-group select {
        width: 100%;
        font-size: 16px; /* Prevents zoom on focus in iOS */
    }

    .price-estimator-form-header {
        padding: 1rem;
    }

    .price-estimator-form-header h3 {
        font-size: 1.5rem;
    }

    .price-estimator-form-header p {
        font-size: 1rem;
    }

    /* Improve touch targets */
    button, [role="button"], input[type="submit"], input[type="button"] {
        min-height: 44px;
        min-width: 44px;
    }

    /* Adjust form spacing */
    .price-estimator-form-group {
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }
}

/* ====================
   Form Elements
   ==================== */

/* Main Container */
#price-estimator {
    width: 100%;
    color: white;
}

#content-container {
    position: relative;
    min-height: 300px;
}

#card-selection-view,
#estimator-views {
    transition: all 0.3s ease-in-out;
}

/* Bot Description */
#bot-description,
#plugin-description,
#selfbot-description,
#web-description {
    background-color: #1f1f1f;
    color: #e5e5e5;
    border: 1px solid #404040;
    border-radius: 0.375rem;
    padding: 0.75rem;
    min-height: 7.5rem;
    resize: vertical;
    transition: all 0.2s ease;
    width: 100%;
}

/* Select Dropdowns */
#bot-type,
#selfbot-type,
#plugin-type,
#web-type,
#web-complexity,
#web-design-level,
#custom-status-type,
#vencord-type {
    background-color: #1f1f1f;
    color: #e5e5e5;
    border: 1px solid #404040;
    border-radius: 0.375rem;
    padding: 0.75rem;
    transition: all 0.2s ease;
    width: 100%;
    cursor: pointer;
}

/* Command Inputs and Sliders */
#slash-commands-value,
#message-commands-value,
#web-pages-value,
#web-features-value,
#plugin-commands-value {
    display: inline-block;
    min-width: 2rem;
    text-align: center;
    font-weight: 600;
}

/* Specific slider styles are now handled by .estimator-slider class */

#slash-commands-input,
#message-commands-input,
#web-pages-input,
#web-features-input,
#plugin-commands-input {
    width: 4rem;
    padding: 0.25rem 0.5rem;
    text-align: center;
    background-color: #1f1f1f;
    color: #e5e5e5;
    border: 1px solid #404040;
    border-radius: 0.25rem;
}

/* AI Integration */
#ai-integration-input-container {
    margin-top: 0.5rem;
    position: relative;
    z-index: 20;
    pointer-events: auto;
    width: 100%;
}

#ai-integration-input {
    width: 100%;
    padding: 0.5rem;
    background-color: #1f1f1f;
    color: #e5e5e5;
    border: 1px solid #404040;
    border-radius: 0.25rem;
    margin-top: 0.25rem;
    pointer-events: auto;
    position: relative;
    z-index: 30;
}

/* Ensure the input is clickable and interactive */
#ai-integration-input:focus {
    outline: none;
    border-color: #9ca3af;
    box-shadow: 0 0 0 1px #9ca3af;
}

/* Custom Status */
#custom-status {
    flex: 1;
    padding: 0.5rem 0.75rem;
    background-color: #1f1f1f;
    color: #e5e5e5;
    border: 1px solid #404040;
    border-radius: 0 0.375rem 0.375rem 0;
    margin-left: -1px;
    height: 42px;
    box-sizing: border-box;
    font-size: 0.9375rem;
    line-height: 1.25;
    margin: 0;
    vertical-align: top;
}

/* Summary and Price */
#bot-estimated-price,
#selfbot-estimated-price,
#plugin-estimated-price,
#web-estimated-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #3b82f6;
}

/* Modal */
#summary-modal {
    background-color: rgba(0, 0, 0, 0.8);
}

#summary-content {
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 0.5rem;
    max-width: 600px;
    width: 90%;
    padding: 1.5rem;
}

/* Estimator Sections */
#discordBot-estimator,
#selfbot-estimator,
#vencordPlugin-estimator,
#discordWeb-estimator {
    position: relative;
    transition: all 0.3s ease-in-out;
}

/* Back Button */
#back-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

#back-button:hover {
    color: #a3a3a3;
}

/* Feature Checkboxes */
#bot-features,
#plugin-features,
#web-features-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    margin: 0.75rem 0;
}

/* Checkbox and Radio Buttons */
#autoresponder,
#ai-integration-checkbox,
#custom-commands-checkbox,
#database-checkbox,
#api-integration-checkbox,
#premium-theme-checkbox,
#seo-checkbox,
#analytics-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #4b5563;
    border-radius: 0.25rem;
    background-color: #1f2937;
    cursor: pointer;
    position: relative;
    margin-right: 0.5rem;
    vertical-align: middle;
    transition: all 0.2s ease;
}

#autoresponder:checked,
#ai-integration-checkbox:checked,
#custom-commands-checkbox:checked,
#database-checkbox:checked,
#api-integration-checkbox:checked,
#premium-theme-checkbox:checked,
#seo-checkbox:checked,
#analytics-checkbox:checked {
    background-color: #737373;
    border-color: #a3a3a3;
}

#autoresponder:checked::before,
#ai-integration-checkbox:checked::before,
#custom-commands-checkbox:checked::before,
#database-checkbox:checked::before,
#api-integration-checkbox:checked::before,
#premium-theme-checkbox:checked::before,
#seo-checkbox:checked::before,
#analytics-checkbox:checked::before {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 0.75rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Color Input */
#custom-color {
    width: 100%;
    height: 2.5rem;
    padding: 0.25rem;
    background: #1f1f1f;
    border: 1px solid #404040;
    border-radius: 0.25rem;
    cursor: pointer;
}

/* File Input */
#logo-upload {
    display: none;
}

#logo-upload-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #1f2937;
    color: white;
    border: 1px solid #404040;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

#logo-upload-label:hover {
    background-color: #2d3748;
    border-color: #4b5563;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #bot-features,
    #plugin-features,
    #web-features-container {
        grid-template-columns: 1fr;
    }
    
    .price-estimator-range-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Specific slider styles are now handled by .estimator-slider class */
}

/* Range Inputs */
.estimator-slider {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 100%;
    height: 8px;
    background: #000000 !important;
    background-image: none !important;
    border-radius: 3px;
    outline: none !important;
    margin: 1rem 0;
    padding: 0;
    transition: all 0.2s ease;
    border: none !important;
    box-shadow: none !important;
}

/* WebKit (Chrome, Safari, Edge) */
.estimator-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    background: #a3a3a3;
    border: 2px solid #141414;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -2px;
    transition: all 0.2s ease;
}

.estimator-slider::-webkit-slider-thumb:hover {
    background: #c5c5c5;
    transform: scale(1.2);
}

.estimator-slider::-webkit-slider-thumb:active {
    cursor: grabbing;
    background: #ffffff;
}

.estimator-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: #000000 !important;
    border-radius: 3px;
    border: none;
}

/* Firefox */
.estimator-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
}

.estimator-slider::-moz-range-thumb:hover {
    background: #c5c5c5;
    transform: scale(1.2);
}

.estimator-slider::-moz-range-thumb:active {
    cursor: grabbing;
    background: #ffffff;
}

.estimator-slider::-moz-range-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: #000000 !important;
    border-radius: 3px;
    border: none;
}

/* Removed duplicate slider styles */

/* Number Inputs */
input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
    background-color: #1f1f1f;
    color: #e5e5e5;
    border: 1px solid #404040;
    border-radius: 0.25rem;
    padding: 0.5rem;
    width: 5rem;
    text-align: center;
}

/* Checkboxes */
input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    background-color: #1f2937;
    border: 1px solid #404040;
    border-radius: 0.25rem;
    cursor: pointer;
}

/* Focus States */
textarea:focus,
select:focus,
input:focus {
    border-color: #9ca3af;
    outline: none;
    box-shadow: 0 0 0 1px #9ca3af;
}

/* Hover States */
select:hover,
input[type="number"]:hover,
input[type="range"]:hover {
    border-color: #9ca3af;
}

/* Disabled States */
select:disabled,
input:disabled,
textarea:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Placeholder Text */
::placeholder {
    color: #6b7280;
    opacity: 1;
}

/* Labels */
.price-estimator-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #e5e7eb;
}

/* Hints */
.price-estimator-hint {
    font-size: 0.8125rem;
    color: #9ca3af;
    margin: 0.25rem 0 0.75rem;
    line-height: 1.4;
    display: block;
    width: 100%;
}

@media (min-width: 640px) {
    .price-estimator-hint {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }
}

.price-estimator-form-group label {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Inline form groups container */
.price-estimator-form-groups-inline {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.price-estimator-form-groups-inline > .price-estimator-form-group {
    flex: 1;
    margin-bottom: 0;
}

.price-estimator-hint {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 0.75rem;
}

.price-estimator-form-group textarea,
.price-estimator-form-group input[type="text"],
.price-estimator-form-group input[type="number"] {
    background-color: #1f1f1f;
    color: #e5e5e5;
    border: 1px solid #404040;
    border-radius: 0.375rem;
    padding: 0.75rem;
    transition: all 0.2s ease;
    width: 100%;
    font-size: 1rem;
    line-height: 1.5;
}

/* Base select styles */
select {
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: menulist;
    background-color: #1f1f1f;
    color: #e5e5e5;
    border: 1px solid #404040;
    border-radius: 0.375rem;
    padding: 0.6rem 2.5rem 0.6rem 0.75rem; /* Right padding for the arrow */
    font-size: 0.9375rem;
    line-height: 1.2;
    height: 2.8rem;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s ease;
    background-position: right 1rem center; /* Add more space on the right of the arrow */
    padding-right: 2.5rem; /* Ensure consistent padding for the arrow */
}

.price-estimator-form-group textarea:focus,
.price-estimator-form-group input[type="text"]:focus,
.price-estimator-form-group input[type="number"]:focus {
    border-color: #9ca3af;
    outline: none;
    box-shadow: 0 0 0 1px #9ca3af;
}

.price-estimator-form-group textarea {
    min-height: 7.5rem;
}

/* Custom Select Dropdowns */
.custom-select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Style for select elements in form groups */
.price-estimator-form-group > select,
.custom-select-wrapper > select {
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: menulist;
    background-color: #1f1f1f;
    color: #e5e5e5;
    border: 1px solid #404040;
    border-radius: 0.375rem;
    padding: 0.6rem 2.5rem 0.6rem 0.75rem; /* Added more right padding for the arrow */
    font-size: 0.9375rem;
    line-height: 1.2;
    height: 2.8rem;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
    background-position: right 0.75rem center; /* Position the arrow */
}

.price-estimator-form-group > select:focus,
.custom-select-wrapper > select:focus {
    outline: none;
    border-color: #9ca3af;
    box-shadow: 0 0 0 1px #9ca3af;
}

/* Remove custom arrow styles since we're using browser default */
.select-arrow {
    display: none;
}

/* Input Groups */
.price-estimator-input-group {
    padding-bottom: 1rem;
}

/* Feature Groups */
.price-estimator-feature-group {
    background: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(60, 60, 60, 0.3);
    border-radius: 8px;
    padding: 1.25rem;
    display: grid;
    gap: 1.25rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.price-estimator-feature-group:hover {
    background: rgba(30, 30, 30, 0.6);
    border-color: rgba(90, 90, 90, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Command Tiles */
.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.command-tile {
    background: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(60, 60, 60, 0.3);
    border-radius: 8px;
    padding: 1.25rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.command-tile:hover {
    background: rgba(30, 30, 30, 0.6);
    border-color: rgba(90, 90, 90, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.command-tile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9375rem;
    color: #f3f4f6;
}

.command-count {
    font-family: 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
    background: rgba(0, 0, 0, 0.3);
    color: #a3a3a3;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.command-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(60, 60, 60, 0.5);
    border-radius: 3px;
    outline: none;
    margin: 0.5rem 0;
    transition: all 0.2s ease;
}

.command-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
}

.command-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4b5563;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.command-slider:hover {
    background: rgba(80, 80, 80, 0.5);
}

.command-slider:hover::-webkit-slider-thumb,
.command-slider:focus-visible::-webkit-slider-thumb {
    background: #6b7280;
    transform: scale(1.1);
}

.command-slider:hover::-moz-range-thumb,
.command-slider:focus-visible::-moz-range-thumb {
    background: #6b7280;
    transform: scale(1.1);
}

/* Autoresponder Feature Tile */
.command-tile-feature {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.25rem;
    cursor: pointer;
}

.command-feature-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
    flex: 1;
}

.command-feature-toggle input[type="checkbox"] {
    display: none;
}

.command-feature-toggle-slider {
    position: relative;
    width: 40px;
    height: 20px;
    background-color: rgba(75, 85, 99, 0.5);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.command-feature-toggle-slider:before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #f3f4f6;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
}

.command-feature-toggle input:checked + .command-feature-toggle-slider {
    background-color: #4b5563;
}

.command-feature-toggle input:checked + .command-feature-toggle-slider:before {
    transform: translateX(20px);
    background-color: #f3f4f6;
}

.command-feature-label {
    font-size: 0.9375rem;
    color: #f3f4f6;
}

.command-feature-price {
    font-weight: 500;
    color: #9b9b9b;
    margin-left: auto;
    padding-left: 1rem;
    transition: color 0.2s ease-in-out;
}

.command-tile-feature:hover .command-feature-price {
    color: #d3d3d3;
}

.autoresponder-count {
    font-size: 0.75rem;
    opacity: 0.8;
    transition: opacity 0.2s ease-in-out;
}

.command-tile-feature:hover .autoresponder-count {
    opacity: 1;
}

/* Checkbox Group - Matches Feature Item Style */
.price-estimator-checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: rgba(25, 25, 25, 0.7);
    border: 1px solid rgba(60, 60, 60, 0.3);
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    user-select: none;
}

.price-estimator-checkbox-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #404040;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.price-estimator-checkbox-group:hover {
    background: rgba(35, 35, 35, 0.8);
    border-color: rgba(90, 90, 90, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.price-estimator-checkbox-group:hover::before {
    transform: scaleX(1);
}

/* Checkbox Styling */
.price-estimator-checkbox-group input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #1f1f1f;
    background-color: #1f1f1f;
    border-radius: 4px;
    margin: 0;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.price-estimator-checkbox-group input[type="checkbox"]:checked {
    background-color: #1f1f1f;
    border-color: #1f1f1f;
}

.price-estimator-checkbox-group input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 0.75rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Label Styling */
.price-estimator-checkbox-group label {
    flex: 1;
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #f3f4f6;
    cursor: pointer;
    transition: color 0.2s ease;
}

.price-estimator-checkbox-group:hover label {
    color: #ffffff;
}

/* Price Tag - Shared with feature items */
.price-estimator-feature-price {
    background: #1f1f1f;
    color: #979797;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.price-estimator-checkbox-group:hover .price-estimator-feature-price {
    background: #303030;
    color: #dfdfdf;
}

/* Disabled State */
.price-estimator-checkbox-group.disabled {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
}

.price-estimator-checkbox-group.disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(60, 60, 60, 0.3);
}

.price-estimator-checkbox-group.disabled::before {
    display: none;
}

/* Modern Features Grid */
.price-estimator-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

/* Feature Item */
.price-estimator-feature-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: rgba(25, 25, 25, 0.7);
    border: 1px solid rgba(60, 60, 60, 0.3);
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    user-select: none;
}

.price-estimator-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #404040;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.price-estimator-feature-item:hover {
    background: rgba(35, 35, 35, 0.8);
    border-color: rgba(90, 90, 90, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.price-estimator-feature-item:hover::before {
    transform: scaleX(1);
}

/* Checkbox Styling */
.price-estimator-feature-item input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #1f1f1f;
    background-color: #1f1f1f;
    border-radius: 4px;
    margin: 0;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    pointer-events: auto; /* Allow direct checkbox interaction */
}

.price-estimator-feature-item input[type="checkbox"]:checked {
    background-color: #1f1f1f;
    border-color: #1f1f1f;
}

.price-estimator-feature-item input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 0.75rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Label Styling */
.price-estimator-feature-item label {
    flex: 1;
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #f3f4f6;
    cursor: pointer;
    transition: color 0.2s ease;
}

.price-estimator-feature-item:hover label {
    color: #ffffff;
}

/* Price Tag */
.price-estimator-feature-price {
    background: #1f1f1f;
    color: #979797;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.price-estimator-feature-item:hover .price-estimator-feature-price {
    background: #303030;
    color: #dfdfdf;
}

/* Feature Categories Container */
#bot-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 0.5rem;
}

/* Feature Category */
.feature-category {
    background: rgba(20, 20, 20, 0.5);
    border-radius: 8px;
    padding: 1.25rem;
    border: 1px solid rgba(60, 60, 60, 0.3);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-category:hover {
    border-color: rgba(100, 100, 100, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.category-title {
    color: #f3f4f6;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.5px;
}

/* Feature Grid */
.price-estimator-features-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
    margin-right: -0.5rem;
}

/* Custom scrollbar for feature grids */
.price-estimator-features-grid::-webkit-scrollbar {
    width: 6px;
}

.price-estimator-features-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.price-estimator-features-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.price-estimator-features-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Feature Info Button */
.feature-info-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0 0.5rem;
    cursor: help;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    outline: none;
}

.feature-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #1f1f1f;
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: bold;
    line-height: 1;
    transition: all 0.2s ease;
}

.feature-info-btn:hover .feature-info-icon {
    background-color: #6e6e6e;
    transform: scale(1.1);
}

/* Feature Description Modal */
.feature-description-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.feature-description-content {
    background-color: #1f1f1f;
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    border: 1px solid #1f1f1f;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.close-feature-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    transition: color 0.2s;
}

.close-feature-modal:hover {
    color: #ffffff;
}

.feature-modal-title {
    margin: 0 0 1rem 0;
    color: #f3f4f6;
    font-size: 1.25rem;
    padding-right: 2rem;
}

.feature-modal-image-container {
    margin: 1rem 0;
    max-height: 300px;
    overflow: hidden;
    border-radius: 6px;
    display: none; /* Hidden by default */
}

.feature-modal-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.feature-modal-image:hover {
    transform: scale(1.02);
}

.fullscreen-image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: zoom-out;
}

.fullscreen-image-viewer.active {
    opacity: 1;
    visibility: visible;
}

.fullscreen-image-viewer img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.feature-modal-description {
    color: #d1d5db;
    line-height: 1.5;
}

/* Feature Item Styling */
.price-estimator-feature-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.5rem 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    gap: 0.5rem;
}

.price-estimator-feature-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

/* Feature Item Layout */
.price-estimator-feature-item .feature-label {
    display: flex;
    align-items: center;
    flex: 1;
    margin: 0;
    cursor: pointer;
    gap: 0.5rem;
}

.feature-name {
    flex: 1;
    color: #e5e7eb;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
    line-height: 1.3;
}

.price-estimator-feature-item:hover .feature-name {
    color: #ffffff;
}

/* Price Tag */
.price-estimator-feature-price {
    background: rgba(31, 31, 31, 0.8);
    color: #a0a0a0;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.price-estimator-feature-item:hover .price-estimator-feature-price {
    background: #2d2d2d;
    color: #c5c5c5;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .tooltip .tooltip-text {
        width: 200px;
        font-size: 0.8rem;
    }
}

.price-estimator-feature-group > label {
    display: block;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #f3f4f6;
    font-size: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .price-estimator-features-grid {
        grid-template-columns: 1fr;
    }
    
    .price-estimator-feature-item {
        padding: 0.875rem 1rem;
    }
}

.price-estimator-status-controls select {
    width: 8rem;
}

.price-estimator-status-controls input {
    flex: 1;
}

/* Color Input */
.price-estimator-form-group input[type="color"] {
    width: 5rem;
    height: 3rem;
    padding: 0;
    border: 1px solid #4b5563;
    border-radius: 0.5rem;
    background: none;
    cursor: pointer;
}

/* Summary */
.price-estimator-summary {
    background: linear-gradient(to right, rgba(20, 20, 20, 0.7), rgba(30, 30, 30, 0.7));
    border: 1px solid #404040;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.price-estimator-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #2d2d2d;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.price-estimator-summary-row:first-child {
    margin-bottom: 1rem;
}

.price-estimator-summary-row span:first-child {
    font-size: 1.25rem;
    font-weight: 600;
}

.price-estimator-summary-row span:last-child {
    font-size: 1.125rem;
    color: #9ca3af;
}

.price-estimator-price {
    font-size: 2.25rem;
    font-weight: 700;
    color: #d4d4d4 !important;
}

#bot-estimated-price,
#selfbot-estimated-price,
#plugin-estimated-price,
#web-estimated-price {
    color: #d4d4d4 !important;
}

/* Delivery Preference */
#delivery-preference {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0;
}

#delivery-preference label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease;
}

#delivery-preference label:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

#delivery-preference input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #4b5563;
    border-radius: 50%;
    background-color: #1f2937;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

#delivery-preference input[type="radio"]:checked {
    background-color: #737373;
    border-color: #a3a3a3;
}

#delivery-preference input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    width: 0.5rem;
    height: 0.5rem;
    background-color: white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* API Integrations */
#api-integrations {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0;
}

#api-integrations label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #1f2937;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    border: 1px solid #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
}

#api-integrations label:hover {
    background-color: #2d3748;
    border-color: #6b7280;
}

#api-integrations input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.25rem;
    min-width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #4b5563;
    border-radius: 0.25rem;
    background-color: #1f2937;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

#api-integrations input[type="checkbox"]:checked {
    background-color: #737373;
    border-color: #a3a3a3;
}

#api-integrations input[type="checkbox"]:checked::before {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 0.75rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Price Estimator Feature Price */
.price-estimator-feature-price {
    margin-left: auto;
    color: #d4d4d4;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Web Specific Controls */
#web-pages-slider,
#web-features-slider {
    flex: 1;
    margin: 0 1rem;
}

#web-pages-input,
#web-features-input {
    width: 5rem;
    padding: 0.375rem 0.5rem;
    text-align: center;
    background-color: #1f2937;
    color: white;
    border: 1px solid #404040;
    border-radius: 0.25rem;
}

/* Tech Stack */
#web-tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}

#web-tech-stack label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    background-color: #1f2937;
    border: 1px solid #404040;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

#web-tech-stack label:hover {
    background-color: #2d3748;
    border-color: #6b7280;
}

#web-tech-stack input[type="radio"] {
    display: none;
}

#web-tech-stack input[type="radio"]:checked + label {
    background-color: #404040;
    border-color: #a3a3a3;
    color: white;
}

/* Vencord Specific */
#vencord-description {
    min-height: 10rem;
    background-color: #141414;
    color: white;
    border: 1px solid #404040;
    border-radius: 0.375rem;
    padding: 0.75rem;
    width: 100%;
    resize: vertical;
    transition: all 0.2s ease;
}

#vencord-type,
#vencord-complexity-slider {
    width: 100%;
    margin: 0.5rem 0 1.5rem;
}

/* Submit Buttons */
.price-estimator-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: #404040;
    color: white;
    border: 1px solid #737373;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    margin-top: 1.5rem;
    width: 100%;
    max-width: 300px;
}

.price-estimator-submit:hover {
    background-color: #525252;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.price-estimator-submit:active {
    transform: translateY(0);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: #1e1e1e;
    border: 1px solid #404040;
    border-radius: 0.5rem;
    max-width: 42rem;
    width: calc(100% - 2rem);
    padding: 1rem;
    margin: 1rem auto;
    box-sizing: border-box;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

@media (min-width: 480px) {
    .modal-content {
        width: 90%;
        padding: 1.5rem;
        margin: 2rem auto;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        padding: 1rem;
        margin: 1rem auto;
    }
}

.modal-header {
    padding: 1.5rem;
    text-align: center;
}

.modal-header h3 {
    font-size: 1.875rem;
    font-weight: 700;
}

@media (max-width: 640px) {
    .price-estimator-form-actions {
        flex-direction: column;
    }
    
    .price-estimator-form-actions button {
        width: 100%;
    }
    
    .price-estimator-summary-row {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .price-estimator-summary-row:last-child {
        flex-direction: row;
        align-items: center;
    }
    
    .price-estimator-price {
        font-size: 1.25rem;
    }
}

.price-estimator-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #2d2d2d;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.price-estimator-summary-row span:first-child {
    font-size: 1.25rem;
    font-weight: 600;
}

.price-estimator-summary-row span:last-child {
    font-size: 1.125rem;
    color: #9ca3af;
}

.price-estimator-price {
    font-size: 2.25rem;
    font-weight: 700;
    color: #d4d4d4 !important;
}

#bot-estimated-price,
#selfbot-estimated-price,
#plugin-estimated-price,
#web-estimated-price {
    color: #d4d4d4 !important;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: #1e1e1e;
    border: 1px solid #404040;
    border-radius: 0.5rem;
    max-width: 42rem;
    width: calc(100% - 2rem);
    padding: 1rem;
    margin: 1rem auto;
    box-sizing: border-box;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

@media (min-width: 480px) {
    .modal-content {
        width: 90%;
        padding: 1.5rem;
        margin: 2rem auto;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        padding: 1rem;
        margin: 1rem auto;
    }
}

.modal-header {
    padding: 1.5rem;
    text-align: center;
}

.modal-header h3 {
    font-size: 1.875rem;
    font-weight: 700;
}

.modal-body {
    padding: 0 1.5rem 1.5rem;
    overflow-y: auto;
    flex: 1;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    max-height: calc(80vh - 100px); /* account for header and padding */
}

.modal-body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Autoresponder Modal Styles */
#autoresponder-modal .modal-content {
    max-width: 700px;
    background-color: #1e1e1e;
    color: #e5e7eb;
    max-height: 90vh;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    border: 1px solid #333;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

#autoresponder-modal .modal-header {
    border-bottom: 1px solid #333;
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    text-align: left;
    margin: 0;
}

#autoresponder-modal .modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #fff;
}

#autoresponders-list {
    margin-bottom: 1.5rem;
}

#autoresponders-list .autoresponder-item {
    background: #252525;
    border: 1px solid #333;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

#autoresponders-list .autoresponder-item:hover {
    border-color: #4b5563;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#autoresponders-list .autoresponder-content {
    flex: 1;
    margin-right: 1rem;
}

#autoresponders-list .autoresponder-trigger {
    color: #fff;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#autoresponders-list .autoresponder-trigger::before {
    content: '\2022';
    color: #3b82f6;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1;
}

#autoresponders-list .autoresponder-response {
    color: #9ca3af;
    font-size: 0.9em;
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    border-left: 3px solid #3b82f6;
    margin-top: 0.75rem;
    white-space: pre-wrap;
    word-break: break-word;
}

#autoresponders-list .autoresponder-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

#autoresponders-list .autoresponder-actions button {
    background: none;
    border: 1px solid #374151;
    color: #9ca3af;
    border-radius: 0.25rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

#autoresponders-list .autoresponder-actions button:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: #4b5563;
}

#autoresponders-list .autoresponder-actions .edit-btn {
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.3);
}

#autoresponders-list .autoresponder-actions .delete-btn {
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

#autoresponders-list .autoresponder-actions .edit-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.5);
}

#autoresponders-list .autoresponder-actions .delete-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.5);
}

#autoresponder-form {
    background: #252525;
    border: 1px solid #333;
    border-radius: 0.375rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

#autoresponder-form h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: #fff;
}

#autoresponder-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
}

#autoresponder-form input[type="text"],
#autoresponder-form textarea {
    width: 100%;
    padding: 0.625rem;
    background-color: #1a1a1a;
    border: 1px solid #374151;
    border-radius: 0.375rem;
    color: #e5e7eb;
    margin-bottom: 1rem;
}

#autoresponder-form textarea {
    min-height: 100px;
    resize: vertical;
}

#autoresponder-form .form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

#autoresponder-form .form-actions .left-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#autoresponder-form .form-actions .right-actions {
    display: flex;
    gap: 0.5rem;
}

#autoresponder-form .toggle-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#autoresponder-form .toggle-container label {
    margin-bottom: 0;
    color: #e5e7eb;
    font-size: 0.875rem;
    cursor: pointer;
}

/* Form Groups */
#autoresponder-form .form-group {
    margin-bottom: 1.25rem;
}

/* Instructions Section */
#autoresponder-modal .instructions {
    background: #252525;
    border: 1px solid #333;
    border-radius: 0.375rem;
    padding: 1.25rem;
    margin: 1.5rem 0;
    font-size: 0.875rem;
    color: #9ca3af;
}

#autoresponder-modal .instructions h4 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
}

#autoresponder-modal .instructions ul {
    margin: 0;
    padding-left: 1.25rem;
    line-height: 1.6;
}

#autoresponder-modal .instructions li {
    margin-bottom: 0.25rem;
}

/* Modal Footer */
#autoresponder-modal .modal-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #333;
    margin-top: 1.5rem;
}

/* Close Button */
#autoresponder-modal .close-button {
    background: none;
    border: 1px solid #404040;
    color: #9ca3af;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    line-height: 1;
    transition: all 0.2s;
    border-radius: 0.25rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #f3f4f6;
    background: rgba(255, 255, 255, 0.05);
    border-color: #606060;
}

#autoresponder-modal .close-button:hover {
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    #autoresponder-form .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    #autoresponder-form .left-actions,
    #autoresponder-form .right-actions {
        width: 100%;
    }
    
    #autoresponder-form .right-actions {
        justify-content: space-between;
    }
}

#summary-content {
    white-space: pre-wrap;
    font-size: 0.875rem;
    font-family: monospace;
    background-color: rgba(30, 30, 30, 0.7);
    border: 1px solid #404040;
    padding: 1.5rem;
    border-radius: 0.5rem;
    color: #e5e7eb;
    margin-bottom: 1.5rem;
    max-height: 50vh;
    overflow-y: auto;
}

.modal-buttons {
    display: flex;
    gap: 0.75rem;
}

.modal-buttons button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Back Button */
.back-button {
    color: white;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.back-button:hover {
    background-color: rgba(31, 41, 55, 0.5);
}

.back-button .icon {
    width: 1rem;
    height: 1rem;
}

/* Hidden Elements */
.hidden {
    display: none;
}

/* Make sure the AI Integration feature matches other features */
.ai-integration-feature {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 1rem;
    background: rgba(25, 25, 25, 0.7);
    border: 1px solid rgba(60, 60, 60, 0.3);
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    user-select: none;
    margin: 0;
    min-height: 44px; /* Match other feature items */
    box-sizing: border-box;
}

.ai-integration-feature:hover {
    background: rgba(35, 35, 35, 0.8);
    border-color: rgba(90, 90, 90, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ai-integration-feature input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #1f1f1f;
    background-color: #1f1f1f;
    border-radius: 4px;
    margin: 0;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    pointer-events: auto; /* Ensure checkbox is clickable */
}

/* Ensure input fields inside the feature are always interactive */
.ai-integration-feature input[type="text"],
.ai-integration-feature input[type="number"],
.ai-integration-feature textarea {
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

.ai-integration-feature input[type="checkbox"]:checked {
    background-color: #1f1f1f;
    border-color: #1f1f1f;
}

.ai-integration-feature input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 0.75rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ai-integration-feature label {
    flex: 1;
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #f3f4f6;
    cursor: pointer;
    transition: color 0.2s ease;
    user-select: none;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-integration-feature:hover label {
    color: #ffffff;
}

.ai-integration-feature .price-estimator-feature-price {
    background: #1f1f1f;
    color: #979797;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ai-integration-feature:hover .price-estimator-feature-price {
    background: #303030;
    color: #dfdfdf;
}