.input-group-parent {
    display: flex;
    align-items: center;
    margin-bottom: clamp(0.5rem, 2vw, 0.625rem);
    align-self: flex-start;
    width: 100%;
}

.input-group-left {
    width: clamp(8rem, 30vw, 9.375rem);
}

.input-group-right {
    flex: 1;
}

.label-left {
    font-size: clamp(0.875rem, 1.5vw, 0.875rem) !important;
    color: #333;
    font-weight: normal !important;
    white-space: nowrap;
    width: 100%;
    text-align: left;
    margin-top: clamp(1rem, 3vw, 1.875rem) !important;
}

input[type="text"] {
    padding: clamp(0.5rem, 1.5vw, 0.625rem) clamp(0.625rem, 2vw, 0.75rem);
    font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    text-align: right;
    width: clamp(10rem, 40vw, 12.5rem);
    margin-left: auto !important;
}

input[type="text"]:focus {
    border-color: #9fb7ff;
    box-shadow: 0 4px 12px rgba(60, 120, 255, 0.08);
}

canvas {
    height: clamp(12rem, 40vh, 30rem) !important;
    max-height: min(60vh, 35rem);
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

@media (max-width: 1440px) {
    .input-container {
        margin-top: 1.125rem;
    }
}

@media (max-width: 1024px) {
    .input-container {
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .input-container {
        margin-top: 0.875rem;
    }
    canvas {
        height: 280px !important;
    }
}

@media (max-width: 480px) {
    .input-container {
        margin-top: 0.75rem;
    }
    canvas {
        height: 200px !important;
    }
}

@media (max-width: 375px) {
    .input-container {
        margin-top: 0.625rem;
    }
    canvas {
        height: 180px !important;
    }
}
