/* ===================================
   Skip Hire Booking System - Frontend Styles (No Shadows)
   =================================== */

/* Postcode Form Styles */
.shbs-postcode-wrapper {
    background: transparent;
    padding: 0;
    margin: 20px 0;
}

.shbs-postcode-container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 50px;
    padding: 10px 10px 10px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.shbs-postcode-content {
    width: 100%;
}

.shbs-postcode-form {
    display: flex;
    align-items: center;
    gap: 20px;
}

.shbs-input-wrapper {
    flex: 1;
}

.shbs-postcode-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 26px;
    font-weight: 400;
    color: #666666;
    background: transparent;
    padding: 8px 0;
}

.shbs-postcode-input::placeholder {
    color: #999999;
    opacity: 1;
}

.shbs-postcode-button {
    background: #F78F20;
    color: #ffffff;
    border: none;
    border-radius: 40px;
    padding: 12px 35px;
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    display: inline-block;
}

.shbs-postcode-button:hover {
    background: #0F712C;
    color: #ffffff;
}

.shbs-postcode-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
}

.shbs-postcode-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.shbs-postcode-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Postcode Already Set Styles */
.shbs-postcode-set .shbs-postcode-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.shbs-postcode-info {
    flex: 1;
}

.shbs-postcode-confirmed {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 18px;
}

.shbs-region-badge {
    background: #0F712C;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.shbs-change-link {
    display: inline-block;
    margin-top: 8px;
    color: #F78F20;
    text-decoration: none;
    font-size: 14px;
}

.shbs-change-link:hover {
    text-decoration: underline;
}

/* Custom Product Fields */
.shbs-custom-fields {
    background: #edeedb;
    border-radius: 8px;
    padding: 25px;
}

.shbs-field-group {
    margin-bottom: 25px;
}

.shbs-field-group:last-child {
    margin-bottom: 0;
}

.shbs-field-label {
    display: block;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    color: #013426;
}

.shbs-field-label .required {
    color: #d63638;
}

.shbs-datepicker {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    background: white;
    cursor: pointer;
}

.shbs-datepicker:focus {
    border-color: #F78F20;
    outline: none;
}

.shbs-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 16px;
}

.shbs-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.shbs-checkbox-text {
    flex: 1;
}

.shbs-field-description {
    margin: 8px 0 0 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.shbs-restrictions-info {
    margin-top: 12px;
    padding: 15px;
    background: white;
    border-radius: 6px;
    border-left: 4px solid #d63638;
}

.shbs-restrictions-list {
    margin: 10px 0 0 20px;
    font-size: 14px;
    color: #666;
}

.shbs-restrictions-list li {
    margin-bottom: 6px;
}

/* Region Info on Product Page */
.shbs-region-info {
    background: #e7f5e9;
    border-left: 4px solid #0F712C;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.shbs-region-message {
    margin: 0 0 8px 0;
    font-size: 16px;
}

.shbs-change-postcode {
    color: #F78F20;
    text-decoration: none;
    margin-left: 10px;
    font-weight: 500;
}

.shbs-change-postcode:hover {
    text-decoration: underline;
}

.shbs-price-modifier {
    margin: 0;
    font-size: 14px;
}

.shbs-modifier-positive {
    color: #d63638;
    font-weight: 600;
}

.shbs-modifier-negative {
    color: #00a32a;
    font-weight: 600;
}

.shbs-no-region-info {
    margin-bottom: 20px;
}

/* Pricing Table */
.shbs-pricing-table-wrapper {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.shbs-pricing-table-wrapper h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #013426;
}

.shbs-pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 6px;
    overflow: hidden;
}

.shbs-pricing-table thead {
    background: #0F712C;
    color: white;
}

.shbs-pricing-table th,
.shbs-pricing-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.shbs-pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.shbs-pricing-table tbody tr:hover {
    background: #f5f5f5;
}

.shbs-postcodes {
    font-family: monospace;
    font-size: 14px;
}

.shbs-price {
    font-weight: 600;
    color: #0F712C;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .shbs-postcode-container {
        flex-direction: column;
        border-radius: 30px;
        padding: 15px;
        gap: 15px;
    }
    
    .shbs-postcode-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .shbs-postcode-input {
        font-size: 22px;
        padding: 10px 15px;
        text-align: center;
    }
    
    .shbs-postcode-button {
        width: 100%;
        padding: 15px 30px;
        font-size: 20px;
    }
    
    .shbs-postcode-set .shbs-postcode-content {
        flex-direction: column;
        text-align: center;
    }
    
    .shbs-postcode-confirmed {
        flex-direction: column;
        gap: 8px;
    }
    
    .shbs-custom-fields {
        padding: 20px 15px;
    }
    
    .shbs-field-label {
        font-size: 15px;
    }
    
    .shbs-pricing-table {
        font-size: 14px;
    }
    
    .shbs-pricing-table th,
    .shbs-pricing-table td {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .shbs-postcode-input {
        font-size: 20px;
    }
    
    .shbs-postcode-button {
        font-size: 18px;
    }
    
    .shbs-pricing-table-wrapper {
        padding: 15px;
        margin: 20px -15px;
    }
    
    .shbs-pricing-table {
        font-size: 12px;
    }
    
    .shbs-pricing-table th,
    .shbs-pricing-table td {
        padding: 8px;
    }
}

/* jQuery UI Datepicker Customization */
.ui-datepicker {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
}

.ui-datepicker-header {
    background: #0F712C;
    color: white;
    border-radius: 6px 6px 0 0;
    padding: 10px;
}

.ui-datepicker-title {
    color: white;
}

.ui-datepicker-prev,
.ui-datepicker-next {
    cursor: pointer;
}

.ui-state-default {
    border: 1px solid #ddd;
    background: white;
    text-align: center;
}

.ui-state-hover,
.ui-state-active {
    background: #F78F20;
    color: white;
    border-color: #F78F20;
}

.ui-state-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}