.wc-rental-quote-container {
max-width: 1200px;
margin: 0 auto;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
color: #333;
}
.wc-rental-quote-title {
font-size: 28px;
font-weight: 500;
margin-bottom: 10px;
color: #222;
}
.wc-rental-quote-subtitle {
font-size: 14px;
margin-bottom: 30px;
color: #666;
}
.wc-rental-quote-error {
padding: 15px;
margin-bottom: 20px;
background-color: #fef0f0;
color: #f56c6c;
border: 1px solid #fbc4c4;
border-radius: 4px;
}
.wc-rental-quote-empty {
padding: 40px;
background: #f8f8f8;
border-radius: 4px;
text-align: center;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
margin: 30px 0;
}
.wc-rental-quote-empty .no-items-message {
font-size: 18px;
color: #333;
margin-bottom: 20px;
}
.wc-rental-quote-empty .browse-button {
display: inline-block;
background-color: #ee7600;
color: white;
padding: 10px 20px;
border-radius: 4px;
text-decoration: none;
font-weight: 600;
transition: background-color 0.3s;
}
.wc-rental-quote-empty .browse-button:hover {
background-color: #d66c00;
text-decoration: none;
} .wc-rental-quote-columns {
display: flex;
flex-wrap: wrap;
margin: 0 -15px;
}
.wc-rental-quote-column {
padding: 0 15px;
margin-bottom: 30px;
}
.billing-details {
flex: 1;
min-width: 320px;
}
.order-summary {
flex: 1;
min-width: 320px;
}
.quote-section {
background: #f8f8f8;
border-radius: 4px;
padding: 20px;
}
.quote-section h3 {
font-size: 14px;
font-weight: 600;
margin-top: 0;
margin-bottom: 20px;
color: #333;
}
.quote-item {
position: relative;
}
.quote-item-actions {
display: flex;
align-items: flex-start;
margin-left: 10px;
}
.remove-quote-item {
background: none;
border: none;
padding: 0;
cursor: pointer;
color: #999 !important;
transition: color 0.2s;
font-size: 18px;
line-height: 1;
}
.remove-quote-item:hover {
color: #f44336;
}
.remove-quote-item .dashicons {
font-size: 16px;
width: 16px;
height: 16px;
} .form-row {
margin-bottom: 15px;
}
.two-columns {
display: flex;
gap: 15px;
}
.two-columns .form-field {
flex: 1;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"] {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
background-color: #fff;
font-size: 14px;
}
.form-field input:focus {
border-color: #666;
outline: none;
}
.form-field input::placeholder {
color: #999;
} .upload-field {
position: relative;
}
.upload-id-button {
display: inline-block;
width: 100%;
padding: 10px;
background-color: #ee7600;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
font-weight: 600;
text-align: center;
transition: background-color 0.3s;
}
.upload-id-button:hover {
background-color: #d66c00;
}
.hidden-file-input {
position: absolute;
top: 0;
left: 0;
opacity: 0;
width: 0.1px;
height: 0.1px;
overflow: hidden;
}
.selected-file {
display: block;
margin-top: 5px;
font-size: 12px;
color: #666;
} .checkbox-field {
display: flex;
align-items: flex-start;
margin-top: 10px;
}
.checkbox-field input[type="checkbox"] {
margin-right: 8px;
margin-top: 3px;
}
.checkbox-field label {
font-size: 13px;
line-height: 1.4;
color: #444;
} .quote-items {
margin-bottom: 20px;
}
.quote-item {
display: flex;
padding: 15px 0;
border-bottom: 1px solid #eee;
}
.quote-item:last-child {
border-bottom: none;
}
.quote-item-image {
width: 70px;
margin-right: 15px;
}
.quote-item-image img {
max-width: 100%;
height: auto;
border: 1px solid #eee;
}
.quote-item-details {
flex: 1;
}
.item-code {
font-size: 12px;
color: #666;
margin-bottom: 3px;
}
.item-name {
font-size: 14px;
font-weight: 600;
margin-bottom: 3px;
}
.item-type {
font-size: 13px;
color: #666;
margin-bottom: 8px;
}
.item-meta {
display: flex;
flex-direction: column;
font-size: 12px;
color: #666;
}
.item-condition, .item-duration {
display: flex;
justify-content: space-between;
margin-bottom: 3px;
}
.item-meta .label {
font-weight: 600;
} .quote-totals {
margin: 20px 0;
padding-top: 15px;
border-top: 1px solid #eee;
}
.quote-shipping {
display: flex;
justify-content: space-between;
font-size: 14px;
}
.quote-shipping .label {
font-weight: 600;
}
.quote-shipping .value {
font-weight: 400;
text-align:right;
} .quote-actions {
margin-top: 20px;
}
.submit-quote-button {
width: 100%;
padding: 12px;
background-color: #ee7600;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 15px;
font-weight: 600;
text-transform: uppercase;
transition: background-color 0.3s;
}
.submit-quote-button:hover {
background-color: #d66c00;
} .quote-response {
margin-top: 20px;
padding: 15px;
border-radius: 4px;
}
.quote-response.success {
background-color: #f0f9eb;
color: #67c23a;
border: 1px solid #c2e7b0;
}
.quote-response.error {
background-color: #fef0f0;
color: #f56c6c;
border: 1px solid #fbc4c4;
} @media (max-width: 768px) {
.wc-rental-quote-columns {
flex-direction: column;
}
.two-columns {
flex-direction: column;
gap: 10px;
}
.wc-rental-quote-column {
width: 100%;
}
}