/*
 GreenEco Meetings — Topics screen exact one-row layout
 Screen: محاور الاجتماع
 Order:
 Search → Add Topics → Edit → Delete → Refresh → Print Topics → Meeting Subject
 CSS only. No business logic / print changes.
 Version: 3.3.16.44.2.519
*/

@media screen {
  .meeting-topics-toolbar{
    direction:rtl!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;

    width:100%!important;
    min-width:0!important;
    max-width:100%!important;

    margin:0 0 8px!important;
    padding:6px 8px!important;

    box-sizing:border-box!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-gutter:stable!important;
  }

  /* Commands remain on the right in one horizontal line. */
  .meeting-topics-toolbar > .toolbar-actions.meeting-topics-actions{
    order:0!important;
    direction:rtl!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:5px!important;

    flex:0 0 auto!important;
    width:auto!important;
    min-width:max-content!important;
    max-width:none!important;

    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
  }

  .meeting-topics-toolbar > .toolbar-actions.meeting-topics-actions > *{
    flex:0 0 auto!important;

    width:auto!important;
    min-width:92px!important;
    max-width:none!important;

    height:38px!important;
    min-height:38px!important;
    max-height:38px!important;

    margin:0!important;
    padding:4px 12px!important;

    display:inline-flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;

    white-space:nowrap!important;
    box-sizing:border-box!important;

    transform:none!important;
    translate:none!important;
    scale:none!important;
    box-shadow:none!important;
    filter:none!important;
  }

  /* Meeting subject remains the left-most item in the same row. */
  .meeting-topics-toolbar > .meeting-topics-subject-inline{
    order:1!important;
    direction:rtl!important;

    flex:0 0 470px!important;
    width:470px!important;
    min-width:470px!important;
    max-width:470px!important;

    margin:0!important;
    padding:0!important;

    display:flex!important;
    align-items:center!important;
    box-sizing:border-box!important;
  }

  .meeting-topics-toolbar > .meeting-topics-subject-inline .meeting-toolbar-subject{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;

    display:grid!important;
    grid-template-columns:110px minmax(0,1fr)!important;
    align-items:center!important;
    gap:8px!important;

    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
  }

  .meeting-topics-toolbar > .meeting-topics-subject-inline .meeting-toolbar-subject > span{
    white-space:nowrap!important;
    font-size:10px!important;
    font-weight:800!important;
  }

  .meeting-topics-toolbar > .meeting-topics-subject-inline .meeting-toolbar-subject select{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;

    height:36px!important;
    min-height:36px!important;
    max-height:36px!important;

    margin:0!important;
    box-sizing:border-box!important;
  }

  /* Standalone Exit is not used; title-row X is the only exit control. */
  .meeting-topics-toolbar > .meeting-topics-exit{
    display:none!important;
    width:0!important;
    min-width:0!important;
    max-width:0!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    overflow:hidden!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }

  .meeting-topics-toolbar + *{
    margin-top:0!important;
  }

  .meeting-topics-toolbar button:hover:not(:disabled),
  .meeting-topics-toolbar button:focus-visible,
  .meeting-topics-toolbar button:active{
    transform:none!important;
    translate:none!important;
    scale:none!important;
    box-shadow:none!important;
    filter:none!important;
    outline:none!important;
  }
}

@media screen and (max-width:1100px){
  .meeting-topics-toolbar{
    min-width:980px!important;
  }
}
