/**
 * Loresoft PayPal Donate - Frontend Styles
 * Designed specifically for Loresoft.gr (GamerPro / Loresoft child theme)
 * Compatible with WordPress 5.6+ through WordPress 7.x+
 */

.loresoft-donate-wrap {
    font-family: inherit;
    color: #222;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.loresoft-donate-wrap *,
.loresoft-donate-wrap *::before,
.loresoft-donate-wrap *::after {
    box-sizing: border-box;
}

.loresoft-donate-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #020621;
    line-height: 1.3;
}

/* Goal Progress Bar */
.loresoft-goal-progress {
    margin-bottom: 16px;
}

.loresoft-goal-progress .raised {
    color: #000;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.loresoft-goal-progress .loresoft-progress-bar-outer {
    width: 100%;
    height: 18px;
    background: #eaeaea;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12);
}

.loresoft-goal-progress .loresoft-progress-bar-inner {
    display: block;
    height: 100%;
    background: linear-gradient(180deg, #2bc253 0%, #209e41 100%);
    border-radius: 10px;
    transition: width 0.4s ease-in-out;
}

/* Campaign Image & Intro Content */
.loresoft-donate-content {
    margin-bottom: 16px;
}

.loresoft-donate-content img.loresoft-campaign-img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 12px auto;
    border-radius: 4px;
}

.loresoft-donate-content .loresoft-campaign-desc {
    color: #000000;
    font-weight: 700;
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0 0 14px 0;
}

/* Donation Amount Input Row */
.loresoft-total-wrap {
    margin-bottom: 14px;
}

.loresoft-donation-amount {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.loresoft-donation-amount .loresoft-amount-input {
    border: 1px solid #DCDEDD;
    background: #fff;
    height: 42px;
    line-height: 42px;
    padding: 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #020621;
    width: 185px;
    max-width: calc(100% - 44px);
    outline: none;
    border-radius: 3px 0 0 3px;
    transition: border-color 0.2s ease-in-out;
}

.loresoft-donation-amount .loresoft-amount-input:focus {
    border-color: #009E74;
}

.loresoft-donation-amount .loresoft-currency-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9f9;
    border: 1px solid #DCDEDD;
    border-left: none;
    color: #656969;
    height: 42px;
    min-width: 42px;
    padding: 0 12px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 0 3px 3px 0;
}

/* Reward Tier Buttons */
.loresoft-levels-list {
    list-style: none !important;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
}

.loresoft-levels-list li {
    list-style: none !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    background: none !important;
}

.loresoft-level-btn {
    display: block;
    width: 100%;
    text-align: left;
    background: #ffffff;
    color: #020621;
    box-shadow: 0 2px 5px rgba(40, 40, 40, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.22s ease-in-out;
    font-family: inherit;
}

.loresoft-level-btn:hover,
.loresoft-level-btn:focus,
.loresoft-level-btn.loresoft-level-active {
    background: #037362;
    color: #ffffff;
    border-color: #037362;
    box-shadow: 0 4px 10px rgba(3, 115, 98, 0.3);
    outline: none;
}

.loresoft-level-btn .loresoft-tier-heading {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: inherit;
    line-height: 1.25;
}

.loresoft-level-btn .loresoft-tier-desc {
    display: block;
    font-size: 13px;
    font-weight: 400;
    margin: 0;
    color: inherit;
    opacity: 0.92;
    line-height: 1.45;
}

/* Optional Donor Comment / Note */
.loresoft-donor-note-wrap {
    margin-bottom: 12px;
}

.loresoft-donor-note-input {
    width: 100%;
    border: 1px solid #DCDEDD;
    border-radius: 3px;
    padding: 8px 10px;
    font-size: 13px;
    color: #222;
    background: #fff;
    font-family: inherit;
}

.loresoft-donor-note-input:focus {
    border-color: #009E74;
    outline: none;
}

/* Total Summary Row */
.loresoft-final-total-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f4f7f6;
    border: 1px solid #dce4e2;
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #020621;
}

.loresoft-final-total-amount {
    color: #037362;
    font-size: 16px;
}

/* Submit / Donate Now Button */
.loresoft-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #037362;
    color: #ffffff !important;
    border: none;
    border-radius: 4px;
    padding: 13px 18px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(40, 40, 40, 0.22);
    transition: background 0.22s ease-in-out, transform 0.1s ease-in-out;
    text-decoration: none;
    font-family: inherit;
}

.loresoft-submit-btn:hover,
.loresoft-submit-btn:focus {
    background: #025a4d;
    color: #ffffff !important;
    outline: none;
}

.loresoft-submit-btn:active {
    transform: translateY(1px);
}

.loresoft-paypal-secure-note {
    text-align: center;
    font-size: 11.5px;
    color: #666;
    margin-top: 8px;
}

/* Thank You Notice Banner */
.loresoft-thankyou-banner {
    background: #e7f7ef;
    border: 1px solid #2bc253;
    color: #024b3f;
    padding: 12px 14px;
    border-radius: 4px;
    margin-bottom: 14px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.45;
}

/* Admin Notice inside Widget if PayPal Email is missing */
.loresoft-admin-warning {
    background: #fff8e5;
    border-left: 4px solid #ffb900;
    padding: 10px 12px;
    margin-bottom: 12px;
    font-size: 12.5px;
    color: #333;
}
