/* Astrology Reading Services – Custom CSS */

/* Section wrapper */
.ars-section {
    background: #ffffff;
    padding: 32px;
    margin-bottom: 24px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Section title */
.ars-section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #6b3d1f; /* brownish like in screenshot */
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    text-transform: uppercase;
}

/* Form groups */
.ars-form-group {
    margin-bottom: 20px;
}

/* Labels */
.ars-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #444;
}

/* Required star */
.ars-required {
    color: red;
    margin-left: 4px;
}

/* Inputs, selects, textareas */
.ars-form-group input[type="text"],
.ars-form-group input[type="email"],
.ars-form-group input[type="date"],
.ars-form-group input[type="number"],
.ars-form-group input[type="time"],
.ars-form-group select,
.ars-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease-in-out;
    background: #fafafa;
}

.ars-form-group input:focus,
.ars-form-group select:focus,
.ars-form-group textarea:focus {
    border-color: #b85c38;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(184, 92, 56, 0.2);
}

/* Textarea */
.ars-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Row for two-column layout */
.ars-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 20px;
}

.ars-form-row .ars-form-group {
    margin-bottom: 0; /* already managed by row spacing */
}

/* Full width fields (single row span) */
.ars-form-group.full-width,
.ars-form-row.full-width {
    grid-column: span 2;
}

/* Radio/checkbox inline alignment */
.ars-form-group input[type="radio"],
.ars-form-group input[type="checkbox"] {
    display: inline-block;
    margin-right: 6px;
}

.ars-form-group input[type="radio"] + label,
.ars-form-group input[type="checkbox"] + label {
    display: inline-block;
    margin-right: 16px;
    font-weight: 400;
    font-size: 14px;
    color: #333;
}

/* Buttons */
.ars-btn {
    display: inline-block;
    background: #b85c38;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    text-decoration: none;
}

.ars-btn:hover {
    background: #8a3e25;
}

/* Payment button */
#razorpay-button {
    margin-top: 20px;
    width: 100%;
}

/* Mobile friendly adjustments */
@media (max-width: 767px) {
    .ars-form-row {
        display: block;
    }
    .ars-form-group,
    .ars-form-group.full-width {
        margin-bottom: 20px;
    }
}

/* Gender & other radio/checkbox groups in one line */
.ars-form-group.inline-options {
    display: flex;
    align-items: center;
    gap: 16px; /* space between options */
}

.ars-form-group.inline-options label {
    display: flex;
    align-items: center;
    font-weight: 400;
    margin-bottom: 0;
}

/* Style radio / checkbox inputs inside inline groups */
.ars-form-group.inline-options input[type="radio"],
.ars-form-group.inline-options input[type="checkbox"] {
    margin: 0 6px 0 0;
    width: auto;
}

/* Dropdown (Select Your Reading) styling */
.ars-form-group select {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    appearance: none; /* removes default arrow in some browsers */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666'%3E%3Cpath d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

/* Full-width selects (so dropdowns look neat) */
.ars-form-group select {
    width: 100%;
}
