/* Product Rental Form Styles */
.prf-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.prf-language-switcher {
    text-align: right;
    margin-bottom: 20px;
}

.prf-language-switcher button {
    background: none;
    border: 1px solid #ddd;
    padding: 5px 15px;
    margin-left: 5px;
    cursor: pointer;
    border-radius: 3px;
}

.prf-language-switcher button.active {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

.prf-form-section {
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.prf-form-section h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Products Grid with Images */
.prf-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.prf-product-item {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.prf-product-item:hover {
    border-color: #007cba;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.prf-product-item.selected {
    border-color: #007cba;
    background: #f0f8ff;
}

.prf-product-checkbox {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.prf-product-checkbox input {
    transform: scale(1.3);
}

.prf-product-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.prf-product-details h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 16px;
}

.prf-product-price {
    color: #007cba;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 8px;
}

.prf-product-description {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.prf-product-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.prf-product-status.select {
    background: #f0f0f0;
    color: #666;
}

.prf-product-status.selected {
    background: #007cba;
    color: white;
}

/* Multi-step form */
.prf-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.prf-steps::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.prf-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.prf-step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
    transition: all 0.3s;
}

.prf-step.active .prf-step-circle {
    background: #007cba;
    color: white;
}

.prf-step.completed .prf-step-circle {
    background: #4CAF50;
    color: white;
}

.prf-step-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prf-step.active .prf-step-label {
    color: #007cba;
    font-weight: bold;
}

/* Form Navigation */
.prf-form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.prf-form-navigation button {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.prf-btn-prev {
    background: #f0f0f0;
    color: #666;
}

.prf-btn-prev:hover {
    background: #e0e0e0;
}

.prf-btn-next, .prf-btn-submit {
    background: #007cba;
    color: white;
}

.prf-btn-next:hover, .prf-btn-submit:hover {
    background: #005a87;
}

.prf-btn-next:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Summary Section */
.prf-summary-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.prf-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.prf-summary-item:last-child {
    border-bottom: none;
}

.prf-summary-label {
    font-weight: bold;
    color: #333;
}

.prf-summary-value {
    color: #666;
}

.prf-total-price {
    font-size: 18px;
    font-weight: bold;
    color: #007cba;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #007cba;
}

/* Date and Time Grid */
.prf-date-time-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.prf-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.prf-form-group {
    margin-bottom: 15px;
}

.prf-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

.prf-form-group input[type="text"],
.prf-form-group input[type="email"],
.prf-form-group input[type="tel"],
.prf-form-group select,
.prf-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

.prf-form-group input:focus,
.prf-form-group select:focus,
.prf-form-group textarea:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0,124,186,0.1);
}

.prf-date-group input {
    background: white;
    cursor: pointer;
}

.prf-error {
    color: #d63638;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.prf-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    display: none;
}

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

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

.prf-spinner {
    display: inline-block;
    margin-left: 10px;
}

.prf-selected-count {
    background: #007cba;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .prf-date-time-grid,
    .prf-form-grid {
        grid-template-columns: 1fr;
    }
    
    .prf-products-grid {
        grid-template-columns: 1fr;
    }
    
    .prf-steps {
        flex-direction: column;
        gap: 15px;
    }
    
    .prf-steps::before {
        display: none;
    }
    
    .prf-step {
        display: flex;
        align-items: center;
        text-align: left;
    }
    
    .prf-step-circle {
        margin: 0 15px 0 0;
        flex-shrink: 0;
    }
}