.form-row {
    display: flex;
    gap: 15px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group input {
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
}

.form-label-bottom {
    font-size: 12px;
    color: #555;
    margin-top: 4px;
    text-align: left;
}

.part-card {
    position: relative;
    padding: 15px;
    background: #F2F2F2;
    border-radius: 5px;
    box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.part-card label {
    font-weight: 500;
    margin: 15px;
}

input, select {
    width: 100%;
    background-color: white !important;
    border: 1px solid #d0d5dd !important;
    border-radius: 5px !important;
    max-width: 100%;
}

#submitBtn {
    padding: 10px 20px;
    background-color: black !important;
    color: white;
    border: none;
    border-radius: 5px !important;
    cursor: pointer;
}

#addPartBtn {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    background-color: #4199FD;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#addPartBtn:hover {
    background-color: #005bb5;
}

.delete-btn {
    background: none !important;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px;
    margin-bottom: 10px;
}

.delete-icon {
    width: 20px;
    height: 20px;
}

.part-row {
    display: flex;
    gap: 10px;
}

.part-group:nth-child(1) {
    flex: 7;
}

.part-group:nth-child(2) {
    flex: 3;
}

label:has(#termsCheckbox) {
    display: flex;
    align-items: flex-start;  
    margin: 15px 0;          
    font-weight: 500;
    line-height: 1.5;        
}

#termsCheckbox {
    width: auto !important;  
    vertical-align: middle;   
    margin-top: 4px;
    margin-right: 8px;
    flex-shrink: 0;          
}

#submitBtn:disabled {
    background-color: #ccc;
    border: 1px solid #aaa;
    cursor: not-allowed;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .part-row {
        flex-direction: column;
    }

    .part-group {
        flex: 1 1 100%;
    }
}

