/**
 * Frontend Styles for Bridal Rental Manager
 */

.brm-booking-form-wrapper {
    margin: 30px 0;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    direction: rtl;
    text-align: right;
}

.brm-booking-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.brm-booking-type-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
}

.brm-radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 20px;
    border: 2px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s;
    background: #fff;
}

.brm-radio-label:hover {
    border-color: #c9a961;
    background: #fff9f0;
}

.brm-radio-label input[type="radio"] {
    margin-left: 8px;
}

.brm-radio-label input[type="radio"]:checked + span {
    color: #c9a961;
    font-weight: bold;
}

.brm-radio-label input[type="radio"]:checked ~ .brm-radio-label {
    border-color: #c9a961;
    background: #fff9f0;
}

.brm-booking-form {
    direction: rtl;
}

.brm-form-section {
    margin-bottom: 25px;
}

.brm-field-group {
    margin-bottom: 20px;
}

.brm-field-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.brm-field-group input[type="text"],
.brm-field-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.brm-field-group input[type="text"]:focus,
.brm-field-group select:focus {
    outline: none;
    border-color: #c9a961;
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.brm-rental-days {
    margin-top: 15px;
    padding: 10px;
    background: #f0f7ff;
    border-radius: 6px;
    color: #0066cc;
    font-weight: 600;
}

.brm-addons-section {
    margin: 25px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 6px;
}

.brm-addons-section h4 {
    margin-bottom: 15px;
    color: #333;
}

.brm-addon-item {
    display: block;
    padding: 10px;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.brm-addon-item:hover {
    border-color: #c9a961;
    background: #fff9f0;
}

.brm-addon-item input[type="checkbox"] {
    margin-left: 8px;
}

.brm-deposit-section {
    margin: 20px 0;
    padding: 15px;
    background: #fff9f0;
    border-radius: 6px;
    border: 1px solid #f0e6d2;
}

.brm-deposit-section label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #8b6914;
}

.brm-deposit-section input[type="checkbox"] {
    margin-left: 8px;
}

.brm-price-display {
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, #c9a961 0%, #b8954a 100%);
    color: #fff;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
}

.brm-price-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.brm-price-value {
    display: block;
    font-size: 28px;
    font-weight: bold;
}

.brm-add-to-cart-btn {
    width: 100%;
    padding: 15px;
    background: #c9a961;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.brm-add-to-cart-btn:hover:not(:disabled) {
    background: #b8954a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

.brm-add-to-cart-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.brm-waitlist-section {
    margin-top: 20px;
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    text-align: center;
}

.brm-waitlist-section p {
    margin-bottom: 15px;
    color: #856404;
    font-weight: 600;
}

.brm-waitlist-btn {
    padding: 10px 20px;
    background: #ffc107;
    color: #856404;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.brm-waitlist-btn:hover {
    background: #ffb300;
}

/* Persian Date Picker Styles */
.pdp-container {
    direction: rtl;
    font-family: Tahoma, Arial, sans-serif;
}

/* Widget Styles */
.brm-ceremony-date-filter {
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    direction: rtl;
    text-align: right;
}

.brm-ceremony-date-filter .brm-filter-field {
    margin-bottom: 15px;
}

.brm-ceremony-date-filter label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.brm-ceremony-date-filter .brm-datepicker-filter {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    direction: rtl;
}

.brm-ceremony-date-filter .brm-filter-submit {
    width: 100%;
    padding: 12px;
    background: #c9a961;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 10px;
}

.brm-ceremony-date-filter .brm-filter-submit:hover {
    background: #b8954a;
}

.brm-ceremony-date-filter .brm-filter-reset {
    display: block;
    text-align: center;
    color: #d63638;
    text-decoration: none;
    font-size: 13px;
}

.brm-ceremony-date-filter .brm-filter-reset:hover {
    text-decoration: underline;
}

.brm-rental-notice {
    direction: rtl;
    text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
    .brm-booking-type-selector {
        flex-direction: column;
    }
    
    .brm-price-value {
        font-size: 24px;
    }
}

