/*
  Creatools Standards CSS
  Generated and maintained following Creatools best practices
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

/*------------------------------------------------------------------
  1. Base Reset and Layout
------------------------------------------------------------------*/
body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.mod-header {
  background-color: #f5f5f5 !important;
}

/*------------------------------------------------------------------
  2. Plugin Content Container
------------------------------------------------------------------*/
.creatools-content {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
}

/* Exclude WordPress admin menu from plugin font
   Ensures default sidebar uses native system font */
#adminmenu,
#adminmenu * {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif !important;
}

/* Hide default WordPress footer text to keep plugin footer clean */
#footer-thankyou,
#wpfooter p {
  display: none !important;
}

/*------------------------------------------------------------------
  3. Sticky Footer for Plugin
------------------------------------------------------------------*/
.creatools-footer {
  margin-top: 20px;
  text-align: center;
  padding: 15px;
  position: relative;
  font-size: 14px;
  color: #50575e;
  background-color: #f8f9fa;
  border: 1px solid #ccc;
  z-index: 99;
}

/*------------------------------------------------------------------
  4. Responsive Buttons and Layout Items
------------------------------------------------------------------*/
.button {
  max-width: 100% !important;
}

.flex-item {
  flex: 0 0 auto;
}

/*------------------------------------------------------------------
  5. Card Component Styles
------------------------------------------------------------------*/
.card {
  margin-top: 0 !important;
}

/*------------------------------------------------------------------
  6. Table and Typography Overrides
------------------------------------------------------------------*/
table {
  font-size: 13px !important;
  overflow-wrap: anywhere !important;
}

/* Font Awesome icons default sizing and color */
.fa,
.fa-brands,
.fa-classic,
.fa-regular,
.fa-sharp,
.fa-solid,
.fab,
.far,
.fas {
  font-size: 16px !important;
  color: #999 !important;
}

/*------------------------------------------------------------------
  7. Stats Content Module
------------------------------------------------------------------*/
.creatools-stats-content {
  background-color: #fff !important;
  padding: 20px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/*==================================================================
  8. Responsive Media Queries
==================================================================*/
@media (max-width: 767px) {
  .flex-item {
    flex: 0 0 100% !important;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .card {
    min-width: 100%;
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .card {
    width: calc((100% - 20px) / 2);
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .card {
    width: calc((100% - 40px) / 3);
  }
}

@media (min-width: 1440px) {
  .card {
    width: calc((100% - 60px) / 4);
  }
}

/*-----------------------------------------------
  General
------------------------------------------------*/

.form-table th {
  width: 50%!important;
}

