/*
Theme Name: FMA Academy v5
Theme URI: https://www.financialmarkets.academy
Author: WeDoMedia
Author URI: https://wedomedia.net
Description: Academy theme for Academy of Financial Markets (v5, fresh install — installs as a separate theme so it never overwrites the previous one). Light brand matching the main site, real logo, right-aligned nav, mobile slide-out with Modules accordion, working circular scroller arrows, live TradingView chart hero, 8-module 2×4 grid, branded Sign In / Create Account, All Lessons hub, single lessons with progress. Assets are cache-busted by file time.
Version: 21.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: fma-academy
*/

.afm-certificate-earned{display:flex;justify-content:space-between;gap:1.25rem;align-items:center;margin:1.4rem 0;padding:1.2rem 1.3rem;border:1px solid rgba(201,162,75,.42);border-radius:14px;background:linear-gradient(135deg,rgba(201,162,75,.12),rgba(53,196,139,.05))}.afm-certificate-earned__icon{font-size:1.5rem;margin-right:.4rem}.afm-certificate-earned strong{font-size:1rem}.afm-certificate-earned p{margin:.35rem 0 0;color:var(--muted);font-size:.82rem}.afm-certificate-earned .btn{white-space:nowrap}@media(max-width:680px){.afm-certificate-earned{flex-direction:column;align-items:flex-start}.afm-certificate-earned .btn{width:100%;justify-content:center}}


/* v18 — exam contrast + registration anti-spam verification */
.afm-exam-promo .h-sec{color:#fff!important}
.afm-math-captcha{margin:1rem 0;padding:1rem;border:1px solid rgba(201,162,75,.30);border-radius:12px;background:rgba(201,162,75,.07)}
.afm-math-captcha__head{display:flex;justify-content:space-between;gap:.75rem;align-items:center;margin-bottom:.65rem}
.afm-math-captcha__head strong{color:var(--text);font-size:.88rem}.afm-math-captcha__head span{font-size:.68rem;color:var(--muted);text-transform:uppercase;letter-spacing:.07em}
.afm-math-captcha label{display:block;font-size:.86rem;font-weight:700;margin-bottom:.5rem}.afm-math-captcha input[type=number]{width:100%;min-height:48px;border-radius:9px;border:1px solid var(--line);background:var(--bg);color:var(--text);padding:.72rem .85rem;font-size:1rem}
.afm-math-captcha small{display:block;margin-top:.5rem;color:var(--muted);line-height:1.45}
@media(max-width:560px){.afm-math-captcha__head{align-items:flex-start;flex-direction:column;gap:.2rem}}

/* AFM v20 — miniOrange Google login */
.afm-social-login--miniorange{margin:0 0 18px}.afm-social-login--miniorange iframe,.afm-social-login--miniorange a,.afm-social-login--miniorange button{max-width:100%!important}.afm-social-login--miniorange .mo-openid-app-icons,.afm-social-login--miniorange .mo-openid-app-icons p{width:100%!important;box-sizing:border-box}.afm-social-login--miniorange .mo_btn-google,.afm-social-login--miniorange [class*=google]{max-width:100%!important}


/* AFM v21 — social login on Sign In page */
.afm-social-login--signin{margin:1.25rem 0 0}
.afm-auth-divider--signin{display:flex;align-items:center;gap:.85rem;margin:1rem 0 1.15rem;color:#8a95a5;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;text-align:center}
.afm-auth-divider--signin:before,.afm-auth-divider--signin:after{content:"";height:1px;background:#e0e5ec;flex:1}
.afm-auth-divider--signin span{white-space:nowrap}
