body {
    background-color: #f8f9fa;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #007bff;
}

.form-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    word-wrap: break-word;
}

.card img {
    max-width: 150px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

.card h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    text-align: center;
}

.details {
    font-size: 0.9em;
}

.details p {
    margin-bottom: 5px;
}

.amazon-link {
    color: #ff9900;
    text-decoration: none;
    font-weight: bold;
}

.amazon-link:hover {
    color: #e68a00;
    text-decoration: underline;
}

.budget {
    font-weight: bold;
    margin-top: 20px;
    text-align: center;
}

.description-box {
    background-color: #ffffff;
    border-radius: 5px;
    padding: 15px;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.slider-container {
    max-width: 400px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}

.slider-label {
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
    text-align: center;
}

#ram_range {
    margin: 10px 0;
    height: 10px;
}

.noUi-connect {
    background: #007bff;
    /* Primary color for the selected range */
}

.noUi-handle {
    background: #fff;
    border: 2px solid #007bff;
    /* Match primary color */
    height: 18px;
    width: 18px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.slider-values {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 14px;
}

.noUi-tooltip {
    background: #007bff;
    /* Tooltip background */
    color: #fff;
    /* Tooltip text color */
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
}