/*
Theme Name:   Corum
Description:  It is a custom theme.
Author:       admin
Author URL:   http://localhost/Corum
Template: twentynineteen
Version:      1.0
Text Domain:  corum
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-patterns
*/

$css = '
  .cmd-wrap{max-width:1200px;margin:1rem auto;padding:0 .5rem;color:#000}

  /* Center the title, search row, and pager */
  .cmd-title{ text-align:center; margin:.5rem 0 1rem }
  .cmd-controls{display:flex; gap:.5rem; align-items:center; margin:.5rem 0; color:#000; justify-content:center;} /* CHANGED */
  .cmd-controls .cmd-row{display:flex; gap:.5rem; align-items:center; flex-wrap:nowrap; justify-content:center;} /* CHANGED */
  @media (max-width:640px){ .cmd-controls .cmd-row{ flex-wrap:wrap } }

  .cmd-search{padding:.5rem .6rem;border:1px solid #d1d5db;border-radius:.375rem;min-width:220px;color:#000;background:#fff;display:inline-block;width:auto;flex:0 1 260px;max-width:100%}
  .cmd-search-monster{min-width:260px}
  .cmd-search-item{min-width:260px}

  table.cmd{width:auto; border-collapse:collapse; color:#000; margin:0 auto;} /* CHANGED: auto width + centered */
  .cmd th,.cmd td{border-bottom:1px solid #e5e7eb;padding:.55rem .6rem;text-align:left;vertical-align:top;color:#000}

  .cmd th{background:#f9fafb;font-weight:600;color:#000}

  .cmd .cmd-tooltip{position:relative;cursor:help;color:#000}
  .cmd .cmd-tip{
    position:absolute;left:0;top:calc(100% + 8px);min-width:260px;max-width:520px;
    background:#fff;color:#000;padding:.6rem .7rem;border-radius:.5rem;
    border:1px solid #d1d5db;box-shadow:0 10px 30px rgba(0,0,0,.12);
    z-index:1000;opacity:0;visibility:hidden;transform:translateY(6px);
    transition:all .12s ease;white-space:pre-wrap
  }
  .cmd .cmd-tooltip:hover .cmd-tip{opacity:1;visibility:visible;transform:translateY(0)}

  .cmd-pager{display:flex; gap:.4rem; flex-wrap:wrap; align-items:center; margin:12px 0; justify-content:center;} /* CHANGED */
  .cmd-pager a,.cmd-pager span{border:1px solid #d1d5db;border-radius:.375rem;padding:.3rem .55rem;text-decoration:none;color:#000;background:#fff}
  .cmd-pager .is-active{background:#111827;color:#fff;border-color:#111827}
';
