/*
 * Stylesheet for Dudheshwar Seva Bilingual plugin
 * Provides a warm, spiritual look using saffron/golden tones and clear typography.
 */

/* Container styling */
.dsd-bi-donation, .dsd-bi-booking {
    background-color: #fffaf0; /* very light saffron */
    border: 1px solid #e0c58f; /* pale gold */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-family: Arial, Helvetica, sans-serif;
    color: #4a2200; /* deep brown */
}

/* Progress bar */
.dsd-bi-progress {
    display: flex;
    justify-content: space-between;
    margin: 0 0 15px 0;
    padding: 0;
    list-style: none;
}
.dsd-bi-progress li {
    flex: 1;
    text-align: center;
    padding: 8px 5px;
    border-bottom: 3px solid #e0c58f;
    background-color: #fffaf0;
    color: #8a4a05;
    font-weight: normal;
    transition: border-color 0.3s, font-weight 0.3s;
}
.dsd-bi-progress li.active {
    border-bottom-color: #a66516;
    font-weight: bold;
}

/* Service options */
.dsd-bi-option {
    background: #fdf5e6;
    border: 1px solid #e0c58f;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 3px;
    cursor: pointer;
}
.dsd-bi-option:hover {
    background: #f8e7c1;
}
.dsd-bi-option label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
}
.dsd-bi-option input[type="radio"] {
    margin-right: 10px;
}
.dsd-bi-name {
    flex: 1;
    margin-right: 10px;
}
.dsd-bi-amount {
    font-weight: bold;
    color: #a66516;
}

/* Buttons */
.dsd-bi-next, .dsd-bi-prev, .dsd-bi-submit {
    background-color: #a66516;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 14px;
}
.dsd-bi-next[disabled], .dsd-bi-prev[disabled], .dsd-bi-submit[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Loading and messages */
.dsd-bi-loading {
    color: #a66516;
    font-weight: bold;
    margin-top: 10px;
}
.dsd-bi-message {
    margin-top: 10px;
    border: 1px solid #e0c58f;
    padding: 10px;
    background: #fdf5e6;
    border-radius: 3px;
}

/* Payment summary */
.dsd-bi-payment-summary {
    font-size: 16px;
    margin-bottom: 10px;
    color: #a66516;
    font-weight: bold;
}

/* Booking form specific styles */
.dsd-bi-booking select,
.dsd-bi-booking input[type="text"],
.dsd-bi-booking input[type="email"],
.dsd-bi-booking input[type="tel"],
.dsd-bi-booking textarea {
    width: 100%;
    padding: 6px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
    font-size: 14px;
    color: #4a2200;
}
.dsd-bi-booking label {
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
    color: #8a4a05;
}
.dsd-bi-booking .dsd-bi-submit {
    background-color: #a66516;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}
.dsd-bi-booking .dsd-bi-loading,
.dsd-bi-booking .dsd-bi-message {
    margin-top: 10px;
}

/* Hide unwanted blank code blocks injected by some themes */
.dsd-bi-donation .code-block,
.dsd-bi-booking .code-block {
    display: none;
}

/* Datepicker styling for better integration */
.ui-datepicker {
    z-index: 1000;
    width: 17em;
    padding: 10px;
    border: 1px solid #e0c58f;
    border-radius: 3px;
    background-color: #fffaf0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-size: 14px;
}
.ui-datepicker-header {
    background-color: #e0c58f;
    border-bottom: 1px solid #e0c58f;
    padding: 4px 0;
    color: #8a4a05;
    font-weight: bold;
    text-align: center;
}
.ui-datepicker-title { margin: 0; }
.ui-datepicker-prev,
.ui-datepicker-next {
    float: left;
    cursor: pointer;
    padding: 2px 6px;
    color: #8a4a05;
    user-select: none;
}
.ui-datepicker-next { float: right; }
.ui-datepicker table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 6px;
}
.ui-datepicker th {
    padding: 0.4em 0;
    text-align: center;
    font-weight: normal;
    color: #8a4a05;
}
.ui-datepicker td {
    text-align: center;
    padding: 2px;
}
.ui-datepicker td a {
    display: block;
    padding: 4px 6px;
    color: #8a4a05;
    text-decoration: none;
    border-radius: 2px;
}
.ui-datepicker td a:hover,
.ui-datepicker .ui-state-active {
    background-color: #a66516;
    color: #fff;
}