
.ath-my-projects-editor,
.ath-my-projects-display,
.ath-my-projects-box,
.ath-my-projects-editor *,
.ath-my-projects-display *,
.ath-my-projects-box *{
    box-sizing:border-box;
}

.ath-my-projects-editor,
.ath-my-projects-display,
.ath-my-projects-box{
    max-width:1180px;
    margin:18px auto;
    color:#fff;
    padding:24px;
    border-radius:32px;
    background:
        radial-gradient(circle at top right,rgba(255,138,0,.14),transparent 34%),
        radial-gradient(circle at bottom left,rgba(0,196,255,.10),transparent 34%),
        rgba(8,13,24,.96);
    border:1px solid rgba(255,255,255,.10);
    box-shadow:0 24px 70px rgba(0,0,0,.28);
}

.ath-my-projects-head span,
.ath-project-card-head span{
    color:#ff8a00;
    font-size:11px;
    font-weight:950;
    text-transform:uppercase;
    letter-spacing:.13em;
}

.ath-my-projects-head h2{
    margin:10px 0 0;
    color:#fff;
    font-size:clamp(38px,5vw,72px);
    line-height:.82;
    text-transform:uppercase;
    letter-spacing:-.07em;
}

.ath-my-projects-head h2 em{
    color:#ff8a00;
    font-style:normal;
}

.ath-my-projects-head p{
    max-width:760px;
    margin:12px 0 0;
    color:rgba(255,255,255,.68);
    line-height:1.65;
}

.ath-my-projects-form{
    margin-top:18px;
    display:grid;
    gap:16px;
}

.ath-project-edit-card,
.ath-project-card{
    padding:18px;
    border-radius:26px;
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.08);
}

.ath-project-edit-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:12px;
    margin-bottom:14px;
}

.ath-project-edit-head h3,
.ath-project-card-head h3{
    margin:0;
    color:#fff;
    font-size:24px;
    text-transform:uppercase;
    letter-spacing:-.04em;
}

.ath-project-edit-head small{
    color:rgba(255,255,255,.52);
    font-size:12px;
}

.ath-project-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}

.ath-project-field{
    display:grid;
    gap:8px;
}

.ath-project-field.full,
.ath-project-check-group{
    grid-column:1/-1;
}

.ath-project-field span{
    color:#fff;
    font-size:11px;
    font-weight:950;
    text-transform:uppercase;
    letter-spacing:.10em;
}

.ath-project-field input,
.ath-project-field select,
.ath-project-field textarea{
    width:100%;
    min-height:48px;
    border:1px solid rgba(255,255,255,.10);
    border-radius:16px;
    background:#fff!important;
    color:#05070d!important;
    padding:12px 14px;
    font-size:14px;
    font-weight:750;
    outline:none;
}

.ath-project-field textarea{
    resize:vertical;
}

.ath-project-checks{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
    gap:8px;
}

.ath-project-checks label{
    min-height:40px;
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 10px;
    border-radius:14px;
    background:rgba(255,255,255,.065);
    border:1px solid rgba(255,255,255,.10);
    color:#fff;
    font-size:12px;
    font-weight:850;
}

.ath-project-checks input{
    width:16px;
    height:16px;
    min-width:16px;
    accent-color:#ff8a00;
}

.ath-project-btn{
    width:max-content;
    min-height:48px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 18px;
    border:0;
    border-radius:999px;
    background:linear-gradient(135deg,#ffb21a,#ff6a00);
    color:#05070d!important;
    font-size:12px;
    font-weight:950;
    text-transform:uppercase;
    letter-spacing:.08em;
    cursor:pointer;
    text-decoration:none!important;
}

.ath-my-projects-notice{
    margin-top:16px;
    padding:12px 14px;
    border-radius:16px;
    font-weight:850;
}

.ath-my-projects-notice.success{
    background:rgba(86,255,140,.10);
    border:1px solid rgba(86,255,140,.22);
    color:#56ff8c;
}

.ath-my-projects-notice.error{
    background:rgba(255,90,90,.10);
    border:1px solid rgba(255,90,90,.22);
    color:#ff8a8a;
}

.ath-project-display-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
    margin-top:18px;
}

.ath-project-card{
    display:flex;
    flex-direction:column;
    gap:12px;
    background:
        radial-gradient(circle at top right,rgba(0,196,255,.10),transparent 34%),
        rgba(255,255,255,.045);
}

.ath-project-stats{
    display:grid;
    gap:8px;
}

.ath-project-stats div,
.ath-project-text{
    padding:12px;
    border-radius:16px;
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.075);
}

.ath-project-stats small,
.ath-project-text small{
    display:block;
    color:rgba(255,255,255,.50);
    font-size:10px;
    font-weight:950;
    text-transform:uppercase;
    letter-spacing:.10em;
}

.ath-project-stats strong{
    display:block;
    margin-top:5px;
    color:#fff;
    font-size:14px;
}

.ath-project-text p{
    margin:8px 0 0;
    color:rgba(255,255,255,.76);
    line-height:1.55;
}

.ath-project-tags{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
}

.ath-project-tags span{
    min-height:34px;
    display:inline-flex;
    align-items:center;
    padding:7px 10px;
    border-radius:999px;
    background:rgba(0,196,255,.10);
    border:1px solid rgba(0,196,255,.22);
    color:#00c4ff;
    font-size:10px;
    font-weight:950;
    text-transform:uppercase;
    letter-spacing:.06em;
}

@media(max-width:920px){
    .ath-project-display-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:760px){
    .ath-my-projects-editor,
    .ath-my-projects-display,
    .ath-my-projects-box{
        padding:18px;
        border-radius:24px;
    }

    .ath-project-grid{
        grid-template-columns:1fr;
    }

    .ath-project-checks{
        grid-template-columns:1fr 1fr;
    }

    .ath-project-btn{
        width:100%;
    }
}


/* Compact My Projects profile display + tighter edit form */
.ath-my-projects-display{
    padding:18px!important;
    border-radius:26px!important;
}

.ath-my-projects-display .ath-my-projects-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:12px;
    margin-bottom:12px;
}

.ath-my-projects-display .ath-my-projects-head h2{
    font-size:clamp(30px,4vw,48px)!important;
    margin:6px 0 0!important;
}

.ath-my-projects-display .ath-my-projects-head p{
    display:none!important;
}

.ath-project-display-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    margin-top:12px!important;
}

.ath-project-card{
    padding:14px!important;
    border-radius:20px!important;
    gap:9px!important;
}

.ath-project-card-head h3{
    font-size:20px!important;
    line-height:.95!important;
}

.ath-project-card-head span{
    font-size:10px!important;
}

.ath-project-stats{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:7px!important;
}

.ath-project-stats div{
    flex:1 1 130px!important;
    padding:9px 10px!important;
    border-radius:14px!important;
}

.ath-project-stats small,
.ath-project-text small{
    font-size:9px!important;
}

.ath-project-stats strong{
    font-size:13px!important;
}

.ath-project-text{
    padding:10px!important;
    border-radius:14px!important;
}

.ath-project-text p{
    margin-top:6px!important;
    font-size:13px!important;
    line-height:1.45!important;
}

.ath-project-tags{
    gap:5px!important;
}

.ath-project-tags span{
    min-height:28px!important;
    padding:5px 8px!important;
    font-size:9px!important;
}

.ath-project-card .ath-project-btn{
    min-height:36px!important;
    padding:8px 12px!important;
    font-size:10px!important;
}

/* Keep labels and inputs tighter together in project form */
.ath-project-field{
    gap:4px!important;
}

.ath-project-field span{
    margin-bottom:0!important;
}

.ath-project-field input,
.ath-project-field select,
.ath-project-field textarea{
    min-height:42px!important;
    padding:9px 12px!important;
    border-radius:13px!important;
}

.ath-project-grid{
    gap:10px!important;
}

.ath-project-edit-card{
    padding:14px!important;
    border-radius:22px!important;
}

.ath-project-edit-head{
    margin-bottom:10px!important;
}

@media(max-width:760px){
    .ath-my-projects-display .ath-my-projects-head{
        display:block!important;
    }

    .ath-project-display-grid{
        grid-template-columns:1fr!important;
    }
}


/* CLEAN FORM ONLY: [ath_my_projects_form] */
.ath-my-projects-editor{
    padding:18px!important;
    border-radius:26px!important;
}

.ath-my-projects-editor .ath-my-projects-head h2{
    font-size:clamp(34px,4vw,54px)!important;
    margin:6px 0 0!important;
}

.ath-my-projects-editor .ath-my-projects-head p{
    margin-top:8px!important;
    font-size:14px!important;
    line-height:1.45!important;
}

.ath-my-projects-editor .ath-my-projects-form{
    margin-top:12px!important;
    gap:12px!important;
}

.ath-my-projects-editor .ath-project-edit-card{
    padding:14px!important;
    border-radius:22px!important;
    background:
        radial-gradient(circle at top right,rgba(255,138,0,.055),transparent 34%),
        rgba(255,255,255,.038)!important;
    border:1px solid rgba(255,255,255,.09)!important;
}

.ath-my-projects-editor .ath-project-edit-head{
    display:flex!important;
    justify-content:space-between!important;
    align-items:center!important;
    gap:10px!important;
    margin-bottom:12px!important;
    padding-bottom:9px!important;
    border-bottom:1px solid rgba(255,255,255,.08)!important;
}

.ath-my-projects-editor .ath-project-edit-head h3{
    font-size:20px!important;
    line-height:1!important;
    margin:0!important;
}

.ath-my-projects-editor .ath-project-edit-head small{
    font-size:12px!important;
    color:rgba(255,255,255,.55)!important;
}

.ath-my-projects-editor .ath-project-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px 12px!important;
    align-items:start!important;
}

.ath-my-projects-editor .ath-project-field{
    gap:5px!important;
    margin:0!important;
}

.ath-my-projects-editor .ath-project-field.full,
.ath-my-projects-editor .ath-project-check-group{
    grid-column:1/-1!important;
}

.ath-my-projects-editor .ath-project-field span,
.ath-my-projects-editor .ath-project-check-group > span{
    color:#fff!important;
    font-size:10px!important;
    line-height:1.1!important;
    letter-spacing:.10em!important;
    margin:0!important;
}

.ath-my-projects-editor .ath-project-field input,
.ath-my-projects-editor .ath-project-field select{
    min-height:42px!important;
    height:42px!important;
    padding:8px 12px!important;
    border-radius:13px!important;
    font-size:14px!important;
    font-weight:800!important;
}

.ath-my-projects-editor .ath-project-field textarea{
    min-height:78px!important;
    padding:10px 12px!important;
    border-radius:13px!important;
    font-size:14px!important;
    font-weight:750!important;
    line-height:1.35!important;
}

/* Needed Roles: normal compact checkbox list, not big cards */
.ath-my-projects-editor .ath-project-check-group{
    padding:10px 0 2px!important;
}

.ath-my-projects-editor .ath-project-checks{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px 16px!important;
    margin-top:8px!important;
}

.ath-my-projects-editor .ath-project-checks label{
    width:auto!important;
    min-width:0!important;
    min-height:0!important;
    height:auto!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:7px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#fff!important;
    font-size:13px!important;
    font-weight:800!important;
    line-height:1.2!important;
    white-space:nowrap!important;
}

.ath-my-projects-editor .ath-project-checks input[type="checkbox"]{
    appearance:auto!important;
    -webkit-appearance:auto!important;
    width:16px!important;
    height:16px!important;
    min-width:16px!important;
    max-width:16px!important;
    margin:0!important;
    padding:0!important;
    border-radius:3px!important;
    accent-color:#ff8a00!important;
    background:#fff!important;
    box-shadow:none!important;
    flex:0 0 16px!important;
}

.ath-my-projects-editor .ath-my-projects-form > .ath-project-btn{
    min-height:42px!important;
    padding:10px 16px!important;
    font-size:11px!important;
    margin-top:2px!important;
}

@media(max-width:700px){
    .ath-my-projects-editor .ath-project-grid{
        grid-template-columns:1fr!important;
    }

    .ath-my-projects-editor .ath-project-checks{
        display:grid!important;
        grid-template-columns:1fr 1fr!important;
        gap:10px 12px!important;
    }

    .ath-my-projects-editor .ath-project-checks label{
        white-space:normal!important;
    }
}


/* Project add button flow for [ath_my_projects_form] */
.ath-project-form-list{
    display:grid;
    gap:12px;
}

.ath-project-form-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:center;
}

.ath-add-project-btn,
.ath-remove-project-btn{
    border:0;
    cursor:pointer;
    font-weight:950;
    text-transform:uppercase;
    letter-spacing:.07em;
}

.ath-add-project-btn{
    width:max-content;
    min-height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 16px;
    border-radius:999px;
    background:rgba(255,138,0,.14);
    border:1px solid rgba(255,138,0,.30);
    color:#ffb21a;
    font-size:11px;
}

.ath-remove-project-btn{
    min-height:30px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:6px 10px;
    border-radius:999px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.10);
    color:rgba(255,255,255,.78);
    font-size:9px;
}

.ath-remove-project-btn:hover,
.ath-add-project-btn:hover{
    filter:brightness(1.08);
}

@media(max-width:640px){
    .ath-project-form-actions,
    .ath-add-project-btn{
        width:100%;
    }
}
