/* Motai Quoter Styles */

.motai-quoter {
    background-color: #1B1B1B;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
}

.motai-quoter h6 {
    color: #EDD000;
    margin-bottom: 10px;
    font-size: 18px;
}

.motai-quoter h3 {
    color: #00D7ED;
    margin-bottom: 20px;
    font-size: 28px;
    text-align: left;
    padding: 0 20px;
}

.motai-quoter p {
    color: #fff;
    line-height: 1.6;
    text-align: left;
    font-size: 16px;
    padding: 0 20px;
}

.motai-quoter-tabs {
    margin: 0;
    padding: 20px;
    list-style: none;
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.motai-quoter-tabs li a {
    display: block;
    padding: 0 20px;
    background-color: #1B1B1B;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    text-align: center;
    border-radius: 22px;
    transition: all 0.3s ease;
    height: 36px;
    line-height: 36px;
    font-size: 14px;
}

.motai-quoter-tabs li.active a {
    background-color: #2B3E40;
    border-color: #00D7ED;
    color: #00D7ED;
}

.motai-quoter-tab-content {
    padding: 20px;
    background-color: #1B1B1B;
    border-radius: 10px;
}

.motai-quoter-form {
    width: 100%;
}

.motai-quoter-form .form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    flex: 1 1 22%;
    min-width: 150px;
}

.motai-quoter-form .form-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}

.motai-quoter-form label {
    margin-bottom: 5px;
    color: #fff;
    font-weight: bold;
}

.motai-quoter-form select,
.motai-quoter-form input {
    padding: 0px 8px;
    background-color: #fff;
    color: #000;
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 40px;
    box-sizing: border-box;
}

.motai-quoter-form select.field-error,
.motai-quoter-form input.field-error {
    border-color: #ff6b6b;
}

.motai-quoter-form button {
    padding: 0 20px;
    background-color: #00D7ED;
    color: #1B1B1B;
    border: none;
    border-radius: 22px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    height: 36px;
    line-height: 36px;
    font-size: 14px;
}

.motai-quoter-form button.cotizar-btn {
    float: right;
    background-color: #00D7ED;
    color: #1B1B1B;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    line-height: 1;
}

.motai-quoter-form button.cotizar-btn:hover {
    background-color: #00B5D0;
}

.motai-quoter-form button.cotizar-btn:disabled {
    background-color: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

.quotation-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: flex-end;
}

.reject-btn, .accept-btn {
    padding: 10px 20px;
    border-radius: 25px;
    border: 2px solid #00D7ED;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.reject-btn {
    background-color: transparent;
    color: #00D7ED;
}

.reject-btn:hover {
    background-color: rgba(0, 215, 237, 0.1);
}

.accept-btn {
    background-color: #00D7ED;
    color: black;
}

.accept-btn:hover {
    background-color: #00B5D0;
    color: white;
}

.motai-response {
    margin-top: 20px;
    border-radius: 5px;
    clear: both;
}

.loading {
    color: #00D7ED;
}

.error {
    color: #ff6b6b;
    background-color: rgba(255, 107, 107, 0.1);
}

.success {
    color: #51cf66;
    background-color: rgba(81, 207, 102, 0.1);
}

.quotation-result {
    margin-top: 20px;
}

.result-item {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #333333;
    border-radius: 4px;
}

.result-item strong {
    color: #fff;
    font-weight: bold;
}

.result-row {
    display: flex;
    gap: 15px;
}

.result-row .result-item {
    flex: 1;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 15px;
    background-color: #333333;
    border-radius: 4px;
    height: 96px;
}

.price-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: bold;
}

.price-label i {
    font-size: 40px;
    width: 40px;
    color: #00D7ED;
}

.price-value {
    font-size: 18px;
    font-weight: bold;
    color: #00D7ED;
}

.quotation-error {
    text-align: center;
    font-size: 18px;
    color: #ff6b6b;
    background-color: rgba(255, 107, 107, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.condiciones-venta {
    margin-top: 30px;
    padding: 20px;
    border: 2px solid #EDD000;
    border-radius: 10px;
    background-color: #1B1B1B;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.condiciones-icon {
    color: #EDD000;
    font-size: 16px;
    flex-shrink: 0;
}

.condiciones-content {
    flex: 1;
}

.condiciones-content h6 {
    color: #EDD000;
    margin-bottom: 10px;
}

.condiciones-content p {
    color: #fff;
    line-height: 1.5;
    padding-left: 0;
}

.validation-error {
    color: #ff6b6b;
    background-color: rgba(255, 107, 107, 0.1);
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    text-align: center;
}

@media (max-width: 1024px) {
    .motai-quoter-form .form-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .motai-quoter-form .form-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
}