

/* General Flex Row */
.ringq-container {
    margin: 20px;
    gap: 20px;
    display: flex;
    flex-direction: column; /* stack children vertically */
}

.ringq-flex-row {
  display: flex;
  gap: 20px;
  align-items: stretch; /* Make children full height */
}

.ringq-h2 {
  font-size: 20px;
  margin: 0; /* remove default top/bottom margin */
  color: #444;
}

.ringq-h3 {
  font-size: 20px;
  margin: 0;              /* remove default top/bottom margin */
  color: #444;
  text-align: left;       /* aligns text to the left */
  padding-left: 20px;     /* optional: add space from left edge */
}

.ringq-h4 {
  font-size: 16px;
  margin: 0;              /* remove default top/bottom margin */
  color: #444;
  text-align: left;       /* aligns text to the left */
  padding-left: 20px;     /* optional: add space from left edge */
}


.ringq-h6 {
  font-size: 8px;
  margin: 0; /* remove default top/bottom margin */
  padding-top: 5px;
  color: gray;
}

.ringq_chat_position{
    width: 100%;
}

.ringq-form p.ringq-button-right{
  text-align: right;
  margin: 0 0 0 0; /* optional spacing */
}


/* Left & Right Wrappers */
.ringq-wrap-left {
  flex: 1;
  display: flex;
  flex-direction: column;     /* stack columns vertically */
  justify-content: flex-start; /* top of container */
  align-items: flex-start;     /* align items to left */
  gap: 20px;
  
  background: #DEEBF8;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}


/* Main columns */
.column {
    width: 100%;
  display: flex;
  flex-direction: row; /* sub-columns in a row */
  background-color: #f2f2f2;
  border-radius: 8px;
  justify-content: center;
}

/* Sub-columns normal */
.sub-column {
  flex: 1;     
  text-align: left;       /* Align text to the left */
  font-weight: bold;       /* Make text bold */
  padding: 15px;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 0px 8px 8px 0px; /* top-left and bottom-left rounded */
}

/* Sub-columns small for narrow columns */
.sub-columnsm {
    color: white;
    display: flex;               /* enable flexbox */
    align-items: center;         /* vertical centering */
    justify-content: center;     /* horizontal centering */
    flex: 1;
    width: 40px;                 /* small width */
    max-width: 40px;
    padding: 5px;
    background-color: #11224D;
    border: 1px solid #ccc;
    border-radius: 8px 0 0 8px; /* top-left and bottom-left rounded */
    text-align: center;          /* still good for multi-line text */
}

.ringq-wrap {
  flex: 1;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

.ringq-wrap-con1, .ringq-wrap-con2,.ringq-wrap-right {
    flex: 1; /* take equal horizontal space */
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.ringq-wrap-top{
  flex: 1;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  display: flex;
  flex-direction: row; /* optional, row is default */
  align-items: center;
  gap: 50px;
}

/* Flex Row Content */
.ringq-flex-row-content {
  display: flex;
  flex-direction: row; 
  gap: 20px;
}



/* Forms */
.ringq-form p {
  margin-bottom: 15px;
  width: 100%;
}

.ringq-form input[type="text"]{
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  transition: all 0.2s ease-in-out;
  background-color: #F8F8F8;
}

.ringq-form select{
    width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  transition: all 0.2s ease-in-out;
  background-color: #F8F8F8;
  text-align: center;
}

.ringq-form input[type="color"]{
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  transition: all 0.2s ease-in-out;
  background-color: #F8F8F8;
  height: 46px;
}

.ringq-form input[type="url"]{
    display: flex;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  transition: all 0.2s ease-in-out;
  background-color: #F8F8F8;
}


.ringq-form input:focus,
.ringq-form select:focus {
  border-color: #0073aa;
  box-shadow: 0 0 4px rgba(0,115,170,0.3);
  outline: none;
}
.ringq-form button {
  padding: 10px 20px;
  background-color: #009FE3 !important;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.ringq-form button:hover {
  background-color: #009FE3;
}


.ringq-table-container{
    margin-top: 15px;
    height: 244px; 
    border: 1px solid #0073aa; 
    box-sizing: border-box; 
    border-radius: 8px;
    overflow: auto;
    margin-bottom: 15px;
}
/* Table */
.ringq-table {
  width: 100%;
  border-collapse: collapse;
}
.ringq-table th, .ringq-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  text-align: left;
}
.ringq-table th {
  background-color: #f9f9f9;
  color: #333;
}
.ringq-table tr:hover {
  background-color: #f1faff;
}

/* Pagination */
.ringq-pagination a {
  display: inline-block;
  padding: 6px 10px;
  margin-right: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  color: #0073aa;
  text-decoration: none;
  transition: all 0.2s;
}
.ringq-pagination a:hover {
  background-color: #0073aa;
  color: #fff;
  border-color: #0073aa;
}

.ringq-display-settings {
  display: flex;
  justify-content: space-between; /* left checkboxes, right button */
  align-items: center;
  flex-wrap: wrap; /* wrap on small screens */
  gap: 10px;
  
}

#ringq-page-path-wrapper{
    margin-top: 20px;
}

.ringq-display-settings .checkbox-group {
  display: flex;
  gap: 30px;
  flex-wrap: wrap; /* allow checkboxes to wrap on small screens */
  align-items: center;
}

.ringq-display-settings .checkbox-group label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.ringq-display-settings button {
  flex-shrink: 0; /* prevent button from shrinking */
}

.ringq-checkbox-label {
  display: flex;
  align-items: center;  /* vertically align checkbox and text */
  gap: 20px;             /* space between checkbox and text */
  cursor: pointer;
}

/* .ringq-checkbox-label input[type="checkbox"] {
  transform: scale(1);
  margin: 0px;
  flex-shrink: 1;
} */

.ringq-checkbox-label input[type="checkbox"] {
  transform: scale(1);
  margin: 0;
  accent-color: #000;
  outline: 2px solid #000;
  outline-offset: -2px;
}

.ringq-checkbox-label span {
  line-height: 1.2; /* ensures text aligns nicely with checkbox */
  display: inline-block;
}

.ringq-input-row {
    display: flex;
    align-items: center; /* vertical alignment */
    gap: 10px;           /* space between label and input */
}



.ringq-input-row input {
    flex: 1;             /* input takes remaining space */
    padding: 5px;
}


.ringq-path-wrapper-container {
    width: 100% !important;
    box-sizing: border-box; /* important to include padding/border in width */
}

.ringq-logo-plugin{
  height: 35px !important;
  width: 71px !important;
}
.ringq-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.ringq-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

@media (max-width: 1024px) {
  .ringq-title {
    text-align: center;
    line-height: 1;
  }
  .ringq-actions {
    margin-left: 0;
    margin: auto;
    flex-wrap: wrap;
    justify-content: center;
  }
  .ringq-flex-row {
    display: flex;
    gap: 20px;
    align-items: stretch; /* Make children full height */
    flex-direction: column;
  }
  .ringq-flex-row-content {
    display: flex;
  flex-direction: column; /* stack children vertically */
  gap: 20px;              /* spacing between the stacked containers */
  }

  .ringq-wrap-top{
    flex-direction: column; /* optional, row is default */
    gap: 10px;
  }


}

.ringq-title-accent {
  color: #009FE3;
  font-size: 26px;
  font-weight: 700;
}



.ringq-btn {
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 14px;
  background: #fff;
  cursor: pointer;
  border-radius: 8px;
  border: 2px solid #009FE3; /* combine color + width + style */
  color: #009FE3;
}

