/* author.css - CSS ruang penulis/submit/edit artikel plugin */

.lj-submit-wrap{
  max-width:1200px;
  margin:50px auto 80px;
  padding:0 15px;
  display:grid;
  grid-template-columns:280px 1fr;
  gap:24px;
}

.lj-submit-side{
  background:#071d33;
  color:#fff;
  border-radius:24px;
  padding:26px;
  height:max-content;
  position:sticky;
  top:90px;
}

.lj-submit-side h3{
  color:#fff;
  margin:0 0 10px;
  font-size:24px;
}

.lj-submit-side p{
  color:#dbeafe;
  line-height:1.6;
}

.lj-submit-info{
  background:rgba(255,255,255,.1);
  border-radius:16px;
  padding:16px;
  margin-top:14px;
}

.lj-submit-info b{
  display:block;
  margin-bottom:6px;
}

.lj-submit-info span{
  color:#dbeafe;
  font-size:14px;
  line-height:1.5;
}

.lj-submit-modern{
  margin:0;
  max-width:100%;
}

.lj-submit-two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.lj-submit-modern input[type="text"],
.lj-submit-modern input[type="email"],
.lj-submit-modern input[type="password"],
.lj-submit-modern input[type="file"],
.lj-submit-modern textarea,
.lj-submit-modern select{
  width:100%;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:14px;
  font-size:15px;
  font-family:inherit;
  background:#fff;
}

.lj-submit-modern input:focus,
.lj-submit-modern textarea:focus,
.lj-submit-modern select:focus{
  outline:none;
  border-color:#e30613;
  box-shadow:0 0 0 4px rgba(227,6,19,.1);
}

.lj-submit-modern .wp-editor-wrap{
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  border:1px solid #e5e7eb;
}

.lj-submit-modern .wp-editor-container{
  border:0;
}

@media(max-width:900px){
  .lj-submit-wrap{
    grid-template-columns:1fr;
  }

  .lj-submit-side{
    position:relative;
    top:auto;
  }

  .lj-submit-two{
    grid-template-columns:1fr;
  }
}

.lj-author-page{
  max-width:1200px;
  margin:45px auto 80px;
  padding:0 15px;
  display:grid;
  grid-template-columns:260px 1fr;
  gap:24px;
}

.lj-author-sidebar{
  background:#071d33;
  color:#fff;
  border-radius:24px;
  padding:24px;
  height:max-content;
  position:sticky;
  top:90px;
}

.lj-author-sidebar h3{
  color:#fff;
  margin:0 0 18px;
}

.lj-author-sidebar a{
  display:block;
  color:#dbeafe;
  padding:12px 14px;
  border-radius:14px;
  font-weight:800;
}

.lj-author-sidebar a:hover{
  background:rgba(255,255,255,.12);
  color:#fff;
}

.lj-author-main{
  background:#fff;
  border:1px solid var(--lj-border);
  border-radius:24px;
  padding:30px;
  box-shadow:0 14px 40px rgba(15,23,42,.06);
}

.lj-author-main h1{
  margin-top:0;
  font-size:34px;
}

.lj-author-table{
  display:grid;
  gap:10px;
}

.lj-author-table-head,
.lj-author-table-row{
  display:grid;
  grid-template-columns:1fr 120px 120px 100px;
  gap:14px;
  align-items:center;
}

.lj-author-table-head{
  padding:12px 16px;
  color:#64748b;
  font-size:13px;
  font-weight:900;
}

.lj-author-table-row{
  border:1px solid var(--lj-border);
  border-radius:16px;
  padding:16px;
}

.lj-author-table-row a{
  background:#e30613;
  color:#fff;
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
}

.lj-author-empty{
  background:#f8fafc;
  border-radius:16px;
  padding:20px;
}

.lj-profile-form{
  max-width:650px;
}

@media(max-width:900px){
  .lj-author-page{
    grid-template-columns:1fr;
  }

  .lj-author-sidebar{
    position:relative;
    top:auto;
  }

  .lj-author-table-head{
    display:none;
  }

  .lj-author-table-row{
    grid-template-columns:1fr;
  }
}

.lj-author-actions{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

.lj-author-actions a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:70px;
    height:36px;
    padding:0 14px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    text-decoration:none;
    transition:.2s;
}

.lj-author-actions a:first-child{
    background:#e30613;
    color:#fff;
}

.lj-author-actions a:last-child{
    background:#071d33;
    color:#fff;
}

.lj-author-actions a:hover{
    transform:translateY(-1px);
    opacity:.92;
}

.lj-submit-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:24px;
}

.lj-btn-secondary{
    height:48px;
    border:0;
    border-radius:999px;
    background:#071d33;
    color:#fff;
    padding:0 24px;
    font-weight:800;
    cursor:pointer;
}

.lj-btn-secondary:hover{
    opacity:.92;
}

.lj-submit-actions .lj-login-btn{
    min-width:180px;
}

/* MOBILE DASHBOARD UI FIX */

@media(max-width:768px){

  .lj-user-dashboard,
  .lj-author-page,
  .lj-editor-dashboard{
    display:block !important;
    max-width:100% !important;
    margin:20px auto 50px !important;
    padding:0 16px !important;
  }

  .lj-user-sidebar,
  .lj-author-sidebar{
    min-height:auto !important;
    border-radius:24px !important;
    padding:22px !important;
    margin-bottom:20px !important;
    position:relative !important;
    top:auto !important;
  }

  .lj-user-profile{
    margin-bottom:18px !important;
  }

  .lj-user-avatar img{
    width:78px !important;
    height:78px !important;
  }

  .lj-user-nav,
  .lj-author-sidebar nav{
    display:grid !important;
    grid-template-columns:repeat(2,1fr) !important;
    gap:10px !important;
  }

  .lj-user-nav a,
  .lj-author-sidebar a{
    background:rgba(255,255,255,.1) !important;
    color:#fff !important;
    text-align:center !important;
    padding:12px 10px !important;
    border-radius:14px !important;
    font-size:14px !important;
  }

  .lj-user-main,
  .lj-author-main,
  .lj-editor-main{
    width:100% !important;
  }

  .lj-user-hero{
    padding:24px !important;
    border-radius:22px !important;
  }

  .lj-user-hero h1{
    font-size:28px !important;
  }

  .lj-user-cards{
    grid-template-columns:1fr !important;
  }

  .lj-user-actions{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:10px !important;
  }

  .lj-user-actions a{
    text-align:center !important;
    padding:12px !important;
    font-size:14px !important;
  }

  .lj-user-panel,
  .lj-author-main{
    border-radius:22px !important;
    padding:20px !important;
  }

  .lj-author-table-head{
    display:none !important;
  }

  .lj-author-table-row{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
  }

  .lj-author-actions{
    display:flex !important;
    gap:8px !important;
    margin-top:8px !important;
  }

  .lj-author-actions a{
    flex:1 !important;
    text-align:center !important;
  }
}

/* FIX MENU DASHBOARD MOBILE - SEMUA HALAMAN */

@media(max-width:768px){

  .lj-author-sidebar,
  .lj-user-sidebar{
    padding:24px !important;
    border-radius:28px !important;
    min-height:auto !important;
  }

  .lj-author-sidebar{
    display:grid !important;
    grid-template-columns:repeat(2, 1fr) !important;
    gap:10px !important;
  }

  .lj-author-sidebar h3,
  .lj-author-sidebar .lj-user-profile{
    grid-column:1 / -1 !important;
  }

  .lj-author-sidebar > a,
  .lj-author-sidebar nav a,
  .lj-user-nav a{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:48px !important;
    margin:0 !important;
    padding:12px 10px !important;
    border-radius:14px !important;
    background:rgba(255,255,255,.10) !important;
    color:#fff !important;
    text-align:center !important;
    font-size:14px !important;
    font-weight:900 !important;
    line-height:1.25 !important;
  }

}
/* MOBILE DASHBOARD HOME COMPACT */

@media(max-width:768px){

  .lj-user-hero{
    padding:24px !important;
    border-radius:22px !important;
    margin-bottom:18px !important;
  }

  .lj-user-hero h1{
    font-size:28px !important;
    line-height:1.2 !important;
  }

  .lj-user-hero p{
    font-size:15px !important;
    line-height:1.55 !important;
  }

  .lj-user-cards{
    display:grid !important;
    grid-template-columns:repeat(3,1fr) !important;
    gap:10px !important;
    margin-bottom:16px !important;
  }

  .lj-user-cards div{
    padding:16px 12px !important;
    border-radius:18px !important;
    min-height:110px !important;
  }

  .lj-user-cards strong{
    font-size:28px !important;
    margin-bottom:8px !important;
  }

  .lj-user-cards span{
    font-size:12px !important;
    line-height:1.3 !important;
  }

  .lj-user-actions{
    display:grid !important;
    grid-template-columns:repeat(2,1fr) !important;
    gap:10px !important;
  }

  .lj-user-actions a{
    padding:12px 10px !important;
    font-size:14px !important;
    border-radius:999px !important;
  }
}

/* ======================================
   AUTHOR LAYOUT
====================================== */

.lj-author-layout{
    display:grid;
    grid-template-columns:280px 1fr;
    gap:24px;
    max-width:1200px;
    margin:40px auto;
    align-items:start;
}

.lj-author-sidebar{
    background:#001f43;
    border-radius:24px;
    padding:30px;
    color:#fff;
    position:sticky;
    top:100px;
}

.lj-author-sidebar h3{
    color:#fff;
    margin-bottom:24px;
}

.lj-author-sidebar nav{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.lj-author-sidebar nav a{
    color:#fff;
    text-decoration:none;
    font-weight:600;
    padding:10px 12px;
    border-radius:10px;
}

.lj-author-sidebar nav a:hover,
.lj-author-sidebar nav a.active{
    background:rgba(255,255,255,.1);
}

.lj-author-content{
    min-width:0;
}

@media(max-width:992px){

    .lj-author-layout{
        grid-template-columns:1fr;
    }

    .lj-author-sidebar{
        position:static;
    }
}
.lj-author-card{
    background:#fff;
    border-radius:24px;
    padding:32px;
    border:1px solid #e5e7eb;
}