:root{
    --vr-primary:#7B4DFF;
    --vr-primary-dark:#6840ee;
    --vr-cyan:#2ED6FF;
    --vr-ink:#101827;
    --vr-muted:#667085;
    --vr-soft:#F8FAFC;
    --vr-border:rgba(16,24,39,.08);
    --vr-shadow:0 24px 80px rgba(17,24,39,.08);
}
.venoramed-gate-card,
.venoramed-form-shell,
.venoramed-dashboard{
    max-width:1180px;
    margin:80px auto;
    padding:56px;
    border-radius:32px;
    background:#fff;
    border:1px solid var(--vr-border);
    box-shadow:var(--vr-shadow);
}
.venoramed-auth-card{
    position:relative;
    overflow:hidden;
}
.venoramed-auth-card:before{
    content:"";
    position:absolute;
    inset:-120px -160px auto auto;
    width:320px;
    height:320px;
    border-radius:999px;
    background:radial-gradient(circle, rgba(123,77,255,.15), rgba(46,214,255,.08), transparent 70%);
    pointer-events:none;
}
.venoramed-gate-card h1,
.venoramed-form-header h1,
.venoramed-dashboard h1,
.vr-dashboard-topbar h1{
    margin:14px 0 16px;
    font-size:clamp(34px,5vw,64px);
    line-height:1.05;
    letter-spacing:-.04em;
    color:var(--vr-ink);
}
.venoramed-gate-card p,
.venoramed-form-header p,
.venoramed-dashboard p,
.vr-dashboard-topbar p{
    max-width:680px;
    color:var(--vr-muted);
    font-size:18px;
    line-height:1.7;
}
.venoramed-gate-badge{
    display:inline-flex;
    align-items:center;
    padding:8px 14px;
    border-radius:999px;
    color:var(--vr-primary);
    background:rgba(123,77,255,.08);
    font-weight:600;
    font-size:13px;
}
.venoramed-gate-actions,
.venoramed-dashboard-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-top:32px;
}
.venoramed-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-height:52px;
    padding:0 24px;
    border-radius:16px;
    text-decoration:none;
    font-weight:600;
    transition:.25s ease;
    border:0;
}
.venoramed-btn-primary{
    background:var(--vr-primary);
    color:#fff;
    box-shadow:0 14px 30px rgba(123,77,255,.2);
}
.venoramed-btn-primary:hover{ transform:translateY(-2px); background:var(--vr-primary-dark); color:#fff; }
.venoramed-btn-outline{
    color:var(--vr-ink);
    border:1px solid rgba(16,24,39,.12);
    background:#fff;
}
.venoramed-btn-outline:hover{ border-color:var(--vr-primary); color:var(--vr-primary); transform:translateY(-2px); }
.venoramed-form-placeholder{
    margin-top:36px;
    padding:34px;
    border-radius:24px;
    background:var(--vr-soft);
    border:1px dashed rgba(123,77,255,.35);
}
.venoramed-form-placeholder code{
    display:inline-flex;
    margin-top:12px;
    padding:12px 16px;
    border-radius:12px;
    background:var(--vr-ink);
    color:#fff;
}
.venoramed-auth-benefits{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:26px;
}
.venoramed-auth-benefits span{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 14px;
    border-radius:999px;
    background:rgba(123,77,255,.07);
    color:#344054;
    font-size:14px;
    font-weight:500;
}
.venoramed-auth-benefits i{ color:var(--vr-primary); }
.venoramed-inline-warning{
    display:inline-flex;
    max-width:520px;
    padding:14px 16px;
    border-radius:14px;
    background:#fff7ed;
    color:#9a3412;
    line-height:1.55;
}

/* Dashboard Foundation */
.vr-dashboard-shell{
    max-width:1440px;
    margin:40px auto 90px;
    padding:0 24px;
    display:grid;
    grid-template-columns:292px minmax(0,1fr);
    gap:28px;
}
.vr-dashboard-sidebar{
    position:sticky;
    top:104px;
    align-self:start;
    min-height:calc(100vh - 140px);
    padding:24px;
    border-radius:32px;
    background:#0B1020;
    color:#fff;
    box-shadow:0 24px 80px rgba(11,16,32,.16);
    display:flex;
    flex-direction:column;
}
.vr-dashboard-brand{
    display:flex;
    align-items:center;
    gap:14px;
    padding-bottom:24px;
    border-bottom:1px solid rgba(255,255,255,.1);
}
.vr-dashboard-brand__mark{
    width:46px;
    height:46px;
    border-radius:16px;
    display:grid;
    place-items:center;
    background:rgba(123,77,255,.18);
    color:#A994FF;
}
.vr-dashboard-brand strong{display:block;font-size:17px;letter-spacing:-.01em;}
.vr-dashboard-brand small{display:block;color:rgba(255,255,255,.55);margin-top:4px;}
.vr-dashboard-nav{
    display:grid;
    gap:8px;
    margin-top:24px;
}
.vr-dashboard-nav a,
.vr-dashboard-logout{
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px 16px;
    border-radius:16px;
    color:rgba(255,255,255,.72);
    text-decoration:none;
    transition:.25s ease;
    font-weight:500;
}
.vr-dashboard-nav a:hover,
.vr-dashboard-nav a.is-active{
    color:#fff;
    background:rgba(255,255,255,.1);
    transform:translateX(3px);
}
.vr-dashboard-nav a.is-active i{ color:#7B4DFF; }
.vr-dashboard-logout{
    margin-top:auto;
    border:1px solid rgba(255,255,255,.1);
}
.vr-dashboard-logout:hover{background:rgba(255,255,255,.08);color:#fff;}
.vr-dashboard-main{min-width:0;}
.vr-dashboard-topbar{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:24px;
    padding:42px;
    border-radius:32px;
    background:#fff;
    border:1px solid var(--vr-border);
    box-shadow:var(--vr-shadow);
}
.vr-dashboard-topbar h1{font-size:clamp(36px,4vw,56px);}
.vr-dashboard-stats{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:18px;
    margin-top:24px;
}
.vr-dashboard-stat{
    padding:24px;
    border-radius:24px;
    background:#fff;
    border:1px solid var(--vr-border);
    box-shadow:0 18px 55px rgba(17,24,39,.06);
    transition:.25s ease;
}
.vr-dashboard-stat:hover{transform:translateY(-5px);border-color:rgba(123,77,255,.28);}
.vr-dashboard-stat span{
    width:48px;
    height:48px;
    border-radius:16px;
    display:grid;
    place-items:center;
    background:rgba(123,77,255,.08);
    color:var(--vr-primary);
    margin-bottom:18px;
}
.vr-dashboard-stat strong{
    display:block;
    color:var(--vr-ink);
    font-size:34px;
    letter-spacing:-.04em;
}
.vr-dashboard-stat small{display:block;margin-top:5px;color:var(--vr-muted);font-weight:500;}
.vr-dashboard-stat--green span{background:rgba(0,217,166,.12);color:#008f6c;}
.vr-dashboard-stat--orange span{background:rgba(245,158,11,.14);color:#b45309;}
.vr-dashboard-stat--blue span{background:rgba(46,214,255,.14);color:#0891b2;}
.vr-dashboard-panel{
    margin-top:24px;
    padding:34px;
    border-radius:32px;
    background:#fff;
    border:1px solid var(--vr-border);
    box-shadow:0 18px 55px rgba(17,24,39,.06);
}
.vr-dashboard-section-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:18px;
    margin-bottom:24px;
}
.vr-dashboard-section-head h2{margin:0 0 8px;color:var(--vr-ink);font-size:26px;letter-spacing:-.025em;}
.vr-dashboard-section-head p{margin:0;color:var(--vr-muted);}
.vr-dashboard-section-head a{color:var(--vr-primary);font-weight:600;text-decoration:none;}
.vr-dashboard-table-wrap{overflow:auto;}
.vr-dashboard-table{
    width:100%;
    border-collapse:separate;
    border-spacing:0 10px;
    min-width:760px;
}
.vr-dashboard-table th{
    text-align:left;
    padding:0 16px 10px;
    color:#667085;
    font-size:13px;
    font-weight:600;
}
.vr-dashboard-table td{
    padding:16px;
    background:#F8FAFC;
    border-top:1px solid rgba(16,24,39,.05);
    border-bottom:1px solid rgba(16,24,39,.05);
    color:#344054;
}
.vr-dashboard-table td:first-child{border-left:1px solid rgba(16,24,39,.05);border-radius:18px 0 0 18px;}
.vr-dashboard-table td:last-child{border-right:1px solid rgba(16,24,39,.05);border-radius:0 18px 18px 0;}
.vr-dashboard-doctor-cell{display:flex;align-items:center;gap:12px;}
.vr-dashboard-doctor-cell img,
.vr-dashboard-avatar{
    width:46px;
    height:46px;
    border-radius:14px;
    object-fit:cover;
    background:#fff;
    display:grid;
    place-items:center;
    color:var(--vr-primary);
}
.vr-dashboard-action{color:var(--vr-primary);text-decoration:none;font-weight:600;}
.venoramed-status{
    display:inline-flex;
    padding:7px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:600;
    background:#F2F4F7;
    color:#475467;
    white-space:nowrap;
}
.venoramed-status-publish{ background:rgba(0,217,166,.12); color:#008f6c; }
.venoramed-status-pending{ background:rgba(245,158,11,.14); color:#b45309; }
.venoramed-status-draft{ background:rgba(123,77,255,.1); color:var(--vr-primary); }
.venoramed-status-private{ background:rgba(16,24,39,.08); color:#344054; }
.venoramed-empty-state{
    padding:40px;
    border-radius:24px;
    background:var(--vr-soft);
    text-align:center;
}
.venoramed-empty-state h3{margin:0 0 10px;color:var(--vr-ink);font-size:24px;}
.venoramed-empty-state p{margin:0 auto 22px;max-width:520px;color:var(--vr-muted);}
.venoramed-notice{
    max-width:780px;
    margin:60px auto;
    padding:24px;
    border-radius:18px;
    background:#fff7ed;
    color:#9a3412;
}
.vr-dashboard-placeholder-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
}
.vr-dashboard-placeholder-grid div{
    padding:20px;
    border-radius:20px;
    background:#F8FAFC;
    border:1px solid rgba(16,24,39,.06);
}
.vr-dashboard-placeholder-grid strong{display:block;color:var(--vr-ink);margin-bottom:8px;}
.vr-dashboard-placeholder-grid span{color:var(--vr-muted);}

@media(max-width:1100px){
    .vr-dashboard-shell{grid-template-columns:1fr;}
    .vr-dashboard-sidebar{position:relative;top:auto;min-height:auto;}
    .vr-dashboard-nav{grid-template-columns:repeat(2,minmax(0,1fr));}
    .vr-dashboard-logout{margin-top:18px;}
    .vr-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:768px){
    .venoramed-gate-card,
    .venoramed-form-shell,
    .venoramed-dashboard{ margin:40px 16px; padding:28px; border-radius:24px; }
    .venoramed-gate-actions,
    .venoramed-dashboard-head,
    .venoramed-dashboard-item,
    .vr-dashboard-topbar,
    .vr-dashboard-section-head{ flex-direction:column; align-items:stretch; }
    .venoramed-btn{ width:100%; }
    .vr-dashboard-shell{padding:0 16px;margin-top:24px;gap:18px;}
    .vr-dashboard-sidebar{padding:18px;border-radius:24px;}
    .vr-dashboard-nav{grid-template-columns:1fr;}
    .vr-dashboard-topbar{padding:28px;border-radius:24px;}
    .vr-dashboard-stats{grid-template-columns:1fr;}
    .vr-dashboard-panel{padding:22px;border-radius:24px;}
    .vr-dashboard-placeholder-grid{grid-template-columns:1fr;}
}

/* Phase 5.2 - Custom Authentication */
.venoramed-auth-form-card{
    max-width:760px;
}
.venoramed-auth-form{
    position:relative;
    z-index:1;
    display:grid;
    gap:18px;
    margin-top:30px;
}
.venoramed-auth-form label:not(.venoramed-check){
    display:grid;
    gap:8px;
    color:var(--vr-ink);
    font-weight:600;
    font-size:14px;
}
.venoramed-auth-form input[type="text"],
.venoramed-auth-form input[type="email"],
.venoramed-auth-form input[type="password"]{
    width:100%;
    min-height:56px;
    border-radius:16px;
    border:1px solid rgba(16,24,39,.12);
    background:#fff;
    color:var(--vr-ink);
    padding:0 18px;
    outline:none;
    transition:.25s ease;
    font-size:15px;
    font-weight:400;
}
.venoramed-auth-form input:focus{
    border-color:rgba(123,77,255,.55);
    box-shadow:0 0 0 4px rgba(123,77,255,.08);
}
.venoramed-auth-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
    color:var(--vr-muted);
    font-size:14px;
}
.venoramed-auth-row a,
.venoramed-auth-footer a{
    color:var(--vr-primary);
    font-weight:600;
    text-decoration:none;
}
.venoramed-check{
    display:inline-flex;
    align-items:center;
    gap:10px;
    cursor:pointer;
    font-weight:500;
}
.venoramed-check input{
    width:18px;
    height:18px;
    accent-color:var(--vr-primary);
}
.venoramed-auth-form .venoramed-btn{
    width:100%;
    margin-top:6px;
    cursor:pointer;
    font-family:inherit;
    font-size:16px;
}
.venoramed-auth-footer{
    position:relative;
    z-index:1;
    margin-top:24px;
    padding-top:20px;
    border-top:1px solid rgba(16,24,39,.08);
    color:var(--vr-muted);
    font-size:15px;
}
.venoramed-auth-alert{
    position:relative;
    z-index:1;
    margin-top:22px;
    padding:14px 16px;
    border-radius:16px;
    line-height:1.55;
    font-weight:500;
}
.venoramed-auth-alert--success{
    background:rgba(0,217,166,.1);
    color:#027a5b;
    border:1px solid rgba(0,217,166,.22);
}
.venoramed-auth-alert--error{
    background:rgba(239,68,68,.08);
    color:#b42318;
    border:1px solid rgba(239,68,68,.18);
}
@media(max-width:680px){
    .venoramed-gate-card,
    .venoramed-form-shell,
    .venoramed-dashboard{
        margin:36px 16px;
        padding:28px;
        border-radius:24px;
    }
    .venoramed-auth-row{align-items:flex-start;}
}

/* Phase 5.1 Final Dashboard QA Polish */

.vr-dashboard-stat--red span{background:rgba(239,68,68,.10);color:#b42318;}
.venoramed-status-needs_revision{ background:rgba(123,77,255,.1); color:var(--vr-primary); }
.venoramed-status-rejected{ background:rgba(239,68,68,.10); color:#b42318; }
.vr-dashboard-action--disabled{color:#98A2B3;cursor:not-allowed;}
.vr-dashboard-table tbody tr{transition:.22s ease;}
.vr-dashboard-table tbody tr:hover td{background:#fff;border-color:rgba(123,77,255,.14);box-shadow:0 10px 28px rgba(17,24,39,.04);}
.vr-dashboard-main *{box-sizing:border-box;}
@media(max-width:1200px){.vr-dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:900px){.vr-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:520px){.vr-dashboard-stats{grid-template-columns:1fr;}.vr-dashboard-shell{overflow-x:hidden;}.vr-dashboard-table-wrap{margin-left:-6px;margin-right:-6px;padding:0 6px;}}

/* Phase 5.3 - My Doctors System */
.venoramed-dashboard-alert{
    margin:24px 0 0;
    padding:15px 18px;
    border-radius:18px;
    font-weight:500;
    line-height:1.55;
    border:1px solid transparent;
}
.venoramed-dashboard-alert--success{
    background:rgba(0,217,166,.10);
    color:#027a5b;
    border-color:rgba(0,217,166,.22);
}
.venoramed-dashboard-alert--error{
    background:rgba(239,68,68,.08);
    color:#b42318;
    border-color:rgba(239,68,68,.18);
}
.vr-dashboard-doctor-cell small{
    display:block;
    margin-top:4px;
    color:#98A2B3;
    font-size:12px;
    font-weight:500;
}
.vr-dashboard-actions{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}
.vr-dashboard-action{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:0 12px;
    border-radius:999px;
    background:rgba(123,77,255,.08);
    color:var(--vr-primary);
    text-decoration:none;
    font-weight:700;
    font-size:12px;
    transition:.22s ease;
}
.vr-dashboard-action:hover{
    background:var(--vr-primary);
    color:#fff;
    transform:translateY(-1px);
}
.vr-dashboard-action--disabled,
.vr-dashboard-action--disabled:hover{
    background:#F2F4F7;
    color:#98A2B3;
    transform:none;
}
.vr-dashboard-doctor-cards{
    display:none;
}
.vr-dashboard-doctor-card{
    padding:18px;
    border-radius:24px;
    background:#F8FAFC;
    border:1px solid rgba(16,24,39,.06);
    box-shadow:0 16px 45px rgba(17,24,39,.05);
}
.vr-dashboard-doctor-card__top{
    display:flex;
    align-items:center;
    gap:14px;
}
.vr-dashboard-doctor-card__top img,
.vr-dashboard-doctor-card__top .vr-dashboard-avatar{
    width:58px;
    height:58px;
    border-radius:18px;
    object-fit:cover;
    flex:0 0 auto;
}
.vr-dashboard-doctor-card h3{
    margin:0 0 6px;
    color:var(--vr-ink);
    font-size:18px;
    line-height:1.2;
    letter-spacing:-.02em;
}
.vr-dashboard-doctor-card p{
    margin:0;
    color:var(--vr-muted);
    font-size:14px;
    line-height:1.45;
}
.vr-dashboard-doctor-card__meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:18px;
    padding-top:16px;
    border-top:1px solid rgba(16,24,39,.07);
}
.vr-dashboard-doctor-card__meta small{
    color:#98A2B3;
    font-weight:600;
    font-size:12px;
}
.vr-dashboard-doctor-card__actions{
    margin-top:16px;
}
.venoramed-empty-state--doctors{
    position:relative;
    overflow:hidden;
    padding:52px 34px;
}
.venoramed-empty-state--doctors:before{
    content:"";
    position:absolute;
    width:240px;
    height:240px;
    border-radius:999px;
    inset:auto -90px -120px auto;
    background:radial-gradient(circle, rgba(123,77,255,.16), rgba(46,214,255,.08), transparent 68%);
    pointer-events:none;
}
.venoramed-empty-state__icon{
    position:relative;
    z-index:1;
    width:64px;
    height:64px;
    border-radius:22px;
    display:grid;
    place-items:center;
    margin:0 auto 18px;
    background:rgba(123,77,255,.10);
    color:var(--vr-primary);
    font-size:24px;
}
@media(max-width:760px){
    .vr-dashboard-table{display:none;}
    .vr-dashboard-table-wrap{overflow:visible;margin:0;padding:0;}
    .vr-dashboard-doctor-cards{
        display:grid;
        gap:14px;
    }
    .vr-dashboard-doctor-card__meta{
        flex-direction:column;
        align-items:flex-start;
    }
    .vr-dashboard-doctor-card__actions .vr-dashboard-action{
        flex:1 1 auto;
    }
}

/* Fluent Forms integration inside Add Doctor wizard */
.vr-wizard-fluent-form{
    margin-top: 22px;
}
.vr-wizard-fluent-form .fluentform,
.vr-wizard-fluent-form form{
    width:100%;
}
.vr-wizard-fluent-form .ff-el-group{
    margin-bottom: 18px !important;
}
.vr-wizard-fluent-form .ff-el-input--label label,
.vr-wizard-fluent-form label{
    font-weight: 600 !important;
    color:#111827 !important;
}
.vr-wizard-fluent-form input[type="text"],
.vr-wizard-fluent-form input[type="email"],
.vr-wizard-fluent-form input[type="tel"],
.vr-wizard-fluent-form input[type="url"],
.vr-wizard-fluent-form input[type="number"],
.vr-wizard-fluent-form input[type="password"],
.vr-wizard-fluent-form select,
.vr-wizard-fluent-form textarea{
    width:100% !important;
    min-height:52px !important;
    border:1px solid rgba(15,23,42,.12) !important;
    border-radius:16px !important;
    background:#fff !important;
    color:#111827 !important;
    padding:0 16px !important;
    box-shadow:0 10px 30px rgba(15,23,42,.04) !important;
    transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease !important;
}
.vr-wizard-fluent-form textarea{
    min-height:130px !important;
    padding:14px 16px !important;
}
.vr-wizard-fluent-form input:focus,
.vr-wizard-fluent-form select:focus,
.vr-wizard-fluent-form textarea:focus{
    border-color:#7B4DFF !important;
    box-shadow:0 0 0 4px rgba(123,77,255,.12) !important;
    outline:none !important;
}
.vr-wizard-fluent-form .ff-btn,
.vr-wizard-fluent-form button[type="submit"],
.vr-wizard-fluent-form input[type="submit"]{
    min-height:54px !important;
    border-radius:16px !important;
    padding:0 26px !important;
    background:#7B4DFF !important;
    color:#fff !important;
    border:0 !important;
    font-weight:700 !important;
    box-shadow:0 16px 32px rgba(123,77,255,.22) !important;
}
.vr-wizard-fluent-form .ff-btn:hover,
.vr-wizard-fluent-form button[type="submit"]:hover,
.vr-wizard-fluent-form input[type="submit"]:hover{
    background:#6840e8 !important;
    transform:translateY(-1px);
}
.vr-wizard-fluent-form .ff-el-form-check{
    display:inline-flex !important;
    align-items:center !important;
    margin:0 10px 10px 0 !important;
}
.vr-wizard-fluent-form .ff-el-form-check label{
    display:inline-flex !important;
    align-items:center !important;
    gap:8px !important;
    padding:10px 14px !important;
    border:1px solid rgba(15,23,42,.12) !important;
    border-radius:999px !important;
    background:#fff !important;
    box-shadow:0 8px 20px rgba(15,23,42,.04) !important;
    cursor:pointer !important;
    font-weight:600 !important;
    color:#374151 !important;
}
.vr-wizard-fluent-form .ff-el-form-check input{
    accent-color:#7B4DFF !important;
}
.vr-wizard-fluent-form .ff-el-progress,
.vr-wizard-fluent-form .ff-step-titles{
    margin-bottom:22px !important;
}
@media (max-width:768px){
    .vr-wizard-fluent-form .ff-el-form-check{
        display:flex !important;
        width:100% !important;
        margin-right:0 !important;
    }
    .vr-wizard-fluent-form .ff-el-form-check label{
        width:100% !important;
    }
}

/* V10: Live Fluent Form integration polish */
.vr-wizard-form-card.has-live-form{
    background:linear-gradient(180deg,#ffffff 0%,#fbfbff 100%);
}
.vr-form-live-note{
    display:flex;
    gap:14px;
    align-items:flex-start;
    padding:16px 18px;
    margin:20px 0 24px;
    border-radius:18px;
    border:1px solid rgba(46,214,255,.22);
    background:linear-gradient(135deg,rgba(46,214,255,.08),rgba(123,77,255,.07));
}
.vr-form-live-note span{
    width:38px;
    height:38px;
    border-radius:14px;
    display:grid;
    place-items:center;
    color:#00a884;
    background:rgba(0,217,166,.12);
    flex:0 0 38px;
}
.vr-form-live-note strong{display:block;color:#101827;margin-bottom:3px;}
.vr-form-live-note p{margin:0;color:#667085;line-height:1.55;font-size:14px;}
.vr-wizard-fluent-form .ff-step-header,
.vr-wizard-fluent-form .ff-step-titles{
    border:0 !important;
}
.vr-wizard-fluent-form .ff-step-titles li,
.vr-wizard-fluent-form .ff-step-titles .ff_active{
    border-radius:999px !important;
}
.vr-wizard-fluent-form .ff-el-progress-bar,
.vr-wizard-fluent-form .ff-el-progress-status{
    background:#7B4DFF !important;
}
.vr-wizard-fluent-form .ff_upload_btn.ff-btn{
    background:#fff !important;
    color:#101827 !important;
    border:1px solid rgba(16,24,39,.12) !important;
    box-shadow:0 10px 24px rgba(15,23,42,.05) !important;
}
.vr-wizard-fluent-form .ff_upload_btn.ff-btn:hover{
    color:#7B4DFF !important;
    border-color:rgba(123,77,255,.35) !important;
}
.vr-wizard-fluent-form .ff-el-is-error input,
.vr-wizard-fluent-form .ff-el-is-error select,
.vr-wizard-fluent-form .ff-el-is-error textarea{
    border-color:#ef4444 !important;
    box-shadow:0 0 0 4px rgba(239,68,68,.10) !important;
}
.vr-wizard-fluent-form .error,
.vr-wizard-fluent-form .ff-el-is-error .text-danger{
    color:#dc2626 !important;
    font-size:13px !important;
    margin-top:6px !important;
}
@media(max-width:768px){
    .vr-form-live-note{padding:14px;margin:16px 0 20px;}
    .vr-wizard-form-card.has-live-form{padding-left:18px;padding-right:18px;}
}

/* V11: Add Doctor live form cleanup and Fluent Forms stability */
.vr-wizard-shell--live{
    padding:0 !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
}
.vr-wizard-shell--live .vr-wizard-form-card.has-live-form{
    max-width:980px;
    margin:0 auto;
    padding:38px;
    border-radius:32px;
    background:linear-gradient(180deg,#ffffff 0%,#fbfbff 100%);
    border:1px solid rgba(16,24,39,.08);
    box-shadow:0 24px 80px rgba(17,24,39,.08);
}
.vr-wizard-shell--live .vr-wizard-fluent-form{
    margin-top:0 !important;
}
.vr-wizard-fluent-form .ff-el-form-top,
.vr-wizard-fluent-form .ff-el-section-break{
    margin-bottom:22px !important;
}
.vr-wizard-fluent-form .ff-el-section-title,
.vr-wizard-fluent-form .ff-el-section-break h3,
.vr-wizard-fluent-form .ff-el-section-break h2{
    color:#101827 !important;
    letter-spacing:-.02em !important;
}
.vr-wizard-fluent-form .ff-el-section-break p{
    color:#667085 !important;
}
.vr-wizard-fluent-form .ff-step-header,
.vr-wizard-fluent-form .ff-el-progress{
    background:transparent !important;
}
.vr-wizard-fluent-form .ff-el-progress-bar{
    color:#ffffff !important;
    background:linear-gradient(135deg,#7B4DFF,#2ED6FF) !important;
    border-radius:999px !important;
    min-height:12px !important;
}
.vr-wizard-fluent-form .ff-el-progress-status,
.vr-wizard-fluent-form .ff-step-titles li,
.vr-wizard-fluent-form .ff-step-titles .ff_active{
    color:#101827 !important;
    background:transparent !important;
    font-weight:700 !important;
}
.vr-wizard-fluent-form .ff-step-titles .ff_active{
    color:#7B4DFF !important;
}
.vr-wizard-fluent-form input[type="checkbox"],
.vr-wizard-fluent-form input[type="radio"]{
    width:18px !important;
    min-width:18px !important;
    height:18px !important;
    min-height:18px !important;
    padding:0 !important;
    margin:0 !important;
    border-radius:5px !important;
    box-shadow:none !important;
    accent-color:#7B4DFF !important;
    flex:0 0 18px !important;
}
.vr-wizard-fluent-form input[type="radio"]{
    border-radius:999px !important;
}
.vr-wizard-fluent-form .ff-el-form-check{
    vertical-align:top !important;
}
.vr-wizard-fluent-form .ff-el-form-check label{
    min-height:46px !important;
    user-select:none !important;
}
.vr-wizard-fluent-form .ff-el-form-check label:has(input:checked){
    border-color:rgba(123,77,255,.45) !important;
    background:rgba(123,77,255,.08) !important;
    color:#4c2bd9 !important;
}
.vr-wizard-fluent-form input[type="file"]{
    width:100% !important;
    min-height:52px !important;
    cursor:pointer !important;
    position:relative !important;
    z-index:2 !important;
    opacity:1 !important;
    pointer-events:auto !important;
}
.vr-wizard-fluent-form .ff_upload_btn,
.vr-wizard-fluent-form .ff_upload_btn.ff-btn,
.vr-wizard-fluent-form .ff_upload_btn button{
    position:relative !important;
    z-index:3 !important;
    pointer-events:auto !important;
    cursor:pointer !important;
}
.vr-wizard-fluent-form .ff-upload-area,
.vr-wizard-fluent-form .ff_upload_area,
.vr-wizard-fluent-form .ff-el-input--content{
    position:relative !important;
    pointer-events:auto !important;
}
.vr-wizard-fluent-form .ff-btn-secondary,
.vr-wizard-fluent-form .ff-btn-prev{
    background:#fff !important;
    color:#101827 !important;
    border:1px solid rgba(16,24,39,.12) !important;
    box-shadow:0 10px 24px rgba(15,23,42,.05) !important;
}
.vr-wizard-fluent-form .ff-btn-secondary:hover,
.vr-wizard-fluent-form .ff-btn-prev:hover{
    color:#7B4DFF !important;
    border-color:rgba(123,77,255,.35) !important;
}
@media(max-width:768px){
    .vr-wizard-shell--live .vr-wizard-form-card.has-live-form{
        padding:20px 16px;
        border-radius:24px;
    }
    .vr-wizard-fluent-form .ff-el-form-check label{
        min-height:48px !important;
    }
}

/* Phase 5.7.1 — My Doctors Dashboard Management */
.vr-dashboard-stats--phase57{
    grid-template-columns:repeat(4,minmax(0,1fr));
}
.vr-dashboard-stat--red span{
    background:rgba(239,68,68,.10);
    color:#b42318;
}
.vr-dashboard-table--my-doctors{
    min-width:680px;
}
.vr-dashboard-table--my-doctors th:nth-child(2),
.vr-dashboard-table--my-doctors th:nth-child(3),
.vr-dashboard-table--my-doctors th:nth-child(4){
    white-space:nowrap;
}
.vr-dashboard-table--my-doctors .vr-dashboard-doctor-cell strong{
    color:var(--vr-ink);
}
.vr-dashboard-table--my-doctors .vr-dashboard-doctor-cell small{
    color:#667085;
}
.vr-dashboard-action--disabled{
    pointer-events:none;
}
@media(max-width:980px){
    .vr-dashboard-stats--phase57{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:520px){
    .vr-dashboard-stats--phase57{grid-template-columns:1fr;}
}

/* Phase 5.7.2 — Doctor Edit & Resubmission */
.vr-edit-doctor-topbar{
    align-items:flex-start;
}
.vr-edit-doctor-summary{
    display:flex;
    align-items:center;
    gap:16px;
    background:#fff;
    border:1px solid rgba(16,24,39,.08);
    border-radius:24px;
    padding:18px 20px;
    margin:0 0 18px;
    box-shadow:0 18px 48px rgba(15,23,42,.06);
}
.vr-edit-doctor-summary__avatar img,
.vr-edit-doctor-summary__avatar .vr-dashboard-avatar{
    width:64px;
    height:64px;
    border-radius:18px;
    object-fit:cover;
}
.vr-edit-doctor-summary strong{
    display:block;
    font-size:18px;
    color:var(--vr-ink);
    margin-bottom:4px;
}
.vr-edit-doctor-summary span:not(.venoramed-status){
    color:#667085;
    font-size:14px;
}
.vr-edit-doctor-summary .venoramed-status{
    margin-left:auto;
}
.vr-edit-doctor-panel .vr-wizard-fluent-form{
    margin-top:18px;
}
.vr-edit-doctor-form:before{
    content:'Update Mode';
    display:inline-flex;
    align-items:center;
    padding:7px 12px;
    border-radius:999px;
    background:rgba(123,77,255,.10);
    color:#5F3BEA;
    font-size:12px;
    font-weight:800;
    letter-spacing:.02em;
    margin-bottom:14px;
}
@media(max-width:640px){
    .vr-edit-doctor-summary{
        align-items:flex-start;
        flex-wrap:wrap;
    }
    .vr-edit-doctor-summary .venoramed-status{
        margin-left:0;
        width:100%;
        justify-content:center;
    }
}

/* Phase 5.7.3 — Safe published doctor update requests */
.venoramed-status-update_pending{
    background:rgba(46, 214, 255, .14);
    color:#0891b2;
}
.vr-dashboard-action--request{
    border-color:rgba(46, 214, 255, .35);
    color:#047c97;
    background:rgba(46, 214, 255, .08);
}
.vr-dashboard-action--request:hover{
    background:rgba(46, 214, 255, .16);
}
