/* Dashboard */
.asm-pro-dashboard{display:grid;grid-template-columns:220px 1fr;gap:16px;align-items:start}
.asm-pro-sidebar{background:#111827;color:#fff;padding:16px;border-radius:8px}
.asm-pro-sidebar a{display:block;color:#e5e7eb;padding:8px 10px;text-decoration:none;margin-bottom:6px;border-radius:6px}
.asm-pro-sidebar a.active,.asm-pro-sidebar a:hover{background:#2563eb;color:#fff}
.asm-pro-content{background:#fff;padding:16px;border-radius:8px;border:1px solid #eee}
.asm-pro-btn{background:#2563eb;color:#fff;padding:8px 12px;border-radius:6px;border:none;cursor:pointer}
.asm-pro-btn-danger{background:#dc2626}
.asm-pro-message{padding:8px;border-radius:6px;background:#f0fdf4;color:#064e3b;margin-bottom:12px}
.asm-pro-table{width:100%;border-collapse:collapse;margin-top:12px}
.asm-pro-table th,.asm-pro-table td{border:1px solid #e5e7eb;padding:8px;text-align:left}

/* Public approved books */
.asm-approved-wrap{margin:0 auto;max-width:1100px}
.asm-search-bar{margin-bottom:24px}
.asm-search-bar label{display:block;font-weight:600;margin-bottom:8px}
.asm-search-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.asm-search-row .asm-input{flex:1;min-width:200px;margin:0}
.asm-form .asm-input{width:100%;max-width:100%;padding:10px;border:1px solid #ccc;border-radius:4px;box-sizing:border-box}
.asm-button{display:inline-block;background:#2563eb;color:#fff;padding:10px 18px;border:none;border-radius:6px;cursor:pointer;text-decoration:none;font-size:14px}
.asm-button:hover{background:#1d4ed8;color:#fff}
.asm-button-secondary{background:#646970}
.asm-button-secondary:hover{background:#50575e;color:#fff}
.asm-button-small{padding:6px 14px;font-size:13px}
.asm-button-primary{background:#2271b1}
.asm-button-resubmit{background:#646970}
.asm-button-resubmit:hover{background:#50575e;color:#fff}
.asm-button-buy{background:#7d394e}
.asm-button-buy:hover{background:#5c2a3a;color:#fff}
.asm-table-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.asm-na{color:#a0a5aa}
.asm-results-count{margin-bottom:12px;color:#50575e}
.asm-results-table{width:100%;border-collapse:collapse}
.asm-results-table th,.asm-results-table td{border:1px solid #e5e7eb;padding:12px;text-align:left;vertical-align:middle}
.asm-results-row-active{background:#f0f6fc}
.asm-badge{display:inline-block;padding:4px 10px;border-radius:12px;font-size:12px;font-weight:600}
.asm-status-approved{background:#d4edda;color:#155724}
.asm-status-pending{background:#fff3cd;color:#856404}
.asm-status-rejected{background:#f8d7da;color:#721c24}
.asm-status-revision{background:#cce5ff;color:#004085}
.asm-notice{padding:12px 16px;border-radius:6px;margin-bottom:16px}
.asm-notice-success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}
.asm-notice-info{background:#e7f3ff;color:#004085;border:1px solid #b8daff}
.asm-resubmit-panel{background:#f9f9f9;border:2px solid #2271b1;border-radius:8px;padding:24px;margin-bottom:24px}
.asm-resubmit-panel-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.asm-resubmit-panel-header h3{margin:0}
.asm-resubmit-close{font-size:28px;line-height:1;text-decoration:none;color:#50575e}
.asm-resubmit-intro{margin-bottom:12px}

@media (max-width:768px){
	.asm-pro-dashboard{grid-template-columns:1fr}
	.asm-results-table thead{display:none}
	.asm-results-table tr{display:block;margin-bottom:16px;border:1px solid #e5e7eb;border-radius:8px}
	.asm-results-table td{display:block;border:none;padding:8px 12px}
	.asm-results-table td::before{content:attr(data-label) ": ";font-weight:600}
}
