/**
Theme Name: Astra Child - This is a custom note 27
Author: Gary Calwell
Author URI: http://wpastra.com/about/
Description: This child theme of Astra is to provide customisation for the Welnest.au website. /test
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/*refresh */

/* ✅ LearnDash customizations */
.ld-accordion__panel {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
}

.ld-accordion__item-attribute-label {
    display: none !important;
}

.ld-accordion__item-title {
    margin-bottom: 4px !important;
}

.ld-accordion__panel .ld-accordion__item {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
}

.ld-accordion__item.ld-lesson {
    padding-left: 20px !important;
}

.ld-accordion__item.ld-topic {
    padding-left: 40px !important;
}

/*****  Syling for the Register for Free Trial Form  */
/* Container spacing consistent with Astra */
.welnest-form {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--ast-global-color-5, #ffffff);
    border: 1px solid var(--ast-border-color, #e5e5e5);
    border-radius: 8px;
}

/* Form rows */
.welnest-form .form-row {
    margin-bottom: 1.25rem;
}

/* Labels */
.welnest-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Inputs inherit Astra styling but we tighten spacing */
.welnest-form .input-text {
    width: 100%;
    padding: 0.75rem;
    border-radius: 4px;
    border: 1px solid var(--ast-border-color, #ccc);
    font-size: 1rem;
}

/* Messages */
.welnest-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
}

.welnest-message.error {
    background: #ffecec;
    border: 1px solid #ffb3b3;
    color: #cc0000;
}

.welnest-message.success {
    background: #e8fbe8;
    border: 1px solid #a6e3a6;
    color: #2d7a2d;
}

/* Make the registration form fade out. */
.welnest-form form {
    transition: opacity 0.25s ease;
}
