/* Rental Checkout Styles */

/* Signature Pad */
.signature-pad {
    position: relative;
    width: 100%;
    height: 200px;
    border: 1px solid #e9ecef;
    background-color: white;
    border-radius: 4px;
    margin-bottom: 15px;
    touch-action: none;
    padding: 0;
    overflow: hidden;
}

#signature-pad {
    display: block;
    width: 100%;
    height: 100%;
    touch-action: none;
    cursor: crosshair;
    border: none;
    outline: none;
}

/* Instrument cards */
.instrument-card, .card {
    border: 2.5px solid #e9ecef !important;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-left: 10px;
    margin-right: 10px;
}

.card-body.text-center {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.card-title {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.instrument-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.instrument-card img {
    max-height: 150px;
    object-fit: contain;
    padding: 10px;
}

/* Insurance cards */
.insurance-card {
    height: 100%;
    transition: transform 0.2s;
}

.insurance-card:hover {
    transform: translateY(-3px);
}

/* Form elements */
.form-select, .form-control {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 0.375rem 0.75rem;
}

/* Contract preview */
.contract-preview {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #e9ecef;
}

.terms-conditions {
    max-height: 200px;
    overflow-y: auto;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    font-size: 0.9rem;
}

/* Rent Now button highlight */
.btn-rent-now {
    padding: 12px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.15s ease;
}

.btn-rent-now:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

/* Steps progress */
.checkout-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.checkout-step {
    position: relative;
    text-align: center;
    flex: 1;
}

.checkout-step::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e9ecef;
    z-index: -1;
}

.checkout-step:first-child::before {
    left: 50%;
}

.checkout-step:last-child::before {
    width: 50%;
}

.checkout-step .step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    margin: 0 auto 10px;
    font-weight: bold;
}

.checkout-step.active .step-number {
    background-color: #007bff;
    color: white;
}

.checkout-step .step-label {
    font-size: 0.875rem;
    color: #6c757d;
}

.checkout-step.active .step-label {
    color: #007bff;
    font-weight: bold;
}

/* Rental date inputs */
.rental-start-input {
    border: 2px solid #ffc107 !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25) !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
}

.rental-start-input:focus {
    border-color: #ffb300 !important;
    box-shadow: 0 0 0 0.3rem rgba(255, 193, 7, 0.4) !important;
}

.rental-start-input:hover {
    border-color: #ffb300 !important;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

#rental_end_date {
    background-color: #f8f9fa !important;
    color: #6c757d !important;
    cursor: not-allowed;
}

#rental_end_date:focus {
    background-color: #f8f9fa !important;
    border-color: #ced4da !important;
    box-shadow: none !important;
}

/* Responsive design */
@media (max-width: 767.98px) {
    .checkout-step .step-label {
        font-size: 0.75rem;
    }
    
    .checkout-step .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
} 