:root {
    --primary-color: #1a222c;
    --secondary-color: #43c464;
    --tirtiary-color: #3c434c;
    --fourth-color: #26313e;
    --text-color: #bdbfc1;
    --background-color: #11161d;
    --item-text-color: #1a1a1b;
    --item-background-color: #80e099;
}

* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    font-family: 'Roboto', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

body {
  background: linear-gradient(135deg, #0d1117 0%, #11161d 40%, #0f141a 100%);
  color: var(--secondary-color);
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  margin: 0;
}

#root {
  display: flex;
  flex-direction: column;
  flex: 1 1 0%;
  min-height: 0;
  overflow: hidden;
}

.g_container {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.header_signin {
    height: 50px;
}

.header_signin a,
.g_header_title {
    color: #2AF779;
    background-image: linear-gradient(45deg, #2AF779, #64AD57 50%, #98C785 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 700;
}

.g_header {
  padding: 6px 20px;
  border-bottom: 1px solid #2d3947;
  background: linear-gradient(180deg, #1f2b38 0%, #182230 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
  flex: 0 0 auto;
}

.g_header_content {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.g_header_nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.g_header_nav_item {
  color: #b0bac6;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.g_header_nav_item:hover {
  background-color: #263448;
  color: #e4eaf2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.g_header_search {
  margin-left: auto;
  display: flex;
  gap: 6px;
  align-items: center;
}

.g_header_search_input {
  background-color: #0f1820;
  border: 1px solid #2d3e52;
  border-radius: 10px;
  color: #e6ebf2;
  padding: 8px 12px;
  min-width: 220px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.g_header_search_input:focus {
  border-color: #4acb6f;
  box-shadow: 0 0 0 2px rgba(74, 203, 111, 0.18);
}

.g_header_search_btn {
  /* background: linear-gradient(180deg, #51cf76 0%, #33b85a 100%); */
  background-color: transparent;
  border: 1px solid #2c8f48;
  border-radius: 10px;
  padding: 8px;
  font-size: 1.1rem;
  /* color: #0f2618; */
  color: var(--text-color);
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.12s ease, box-shadow 0.2s ease;
  line-height: 1;
}

.g_header_search_btn i {
  margin: 0;
}

.g_header_search_btn:hover {
  filter: brightness(1.06);
  box-shadow: 0 2px 10px rgba(74, 203, 111, 0.2);
}

.g_header_search_btn:active {
  transform: translateY(1px);
}

.g_header_user {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #d9e2ec;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 10px;
  transition: background-color 0.2s ease;
}

.g_header_user:hover {
  background-color: rgba(255, 255, 255, 0.04);
}

.g_header_search + .g_header_user {
  margin-left: 4px;
}

.g_header_user_thumbnail {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #3b4d60;
  background-color: #101820;
  transition: border-color 0.2s ease;
}

.g_header_user:hover .g_header_user_thumbnail {
  border-color: #4acb6f;
}

.g_header_user_name {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.g_card_grid_wrapper {
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  padding: 8px;
}

.g_card_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  align-content: start;
}

.g_card_grid_base {
  border: 1px solid var(--tirtiary-color);
  border-radius: 10px;
  background-color: var(--primary-color);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

.g_card_base {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.42);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.g_card_base:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
}

.g_card_dark {
    background-color: var(--primary-color);
    color: var(--text-color);
}

.g_card_light {
    background-color: #f7fafc;
    color: #1f2933;
}

.g_card_img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background-color: #101820;
}

.g_card_title {
    margin: 10px 10px 4px 10px;
    font-size: 1rem;
    line-height: 1.25;
}

.g_card_title_dark {
    color: #2AF779;
    background-image: linear-gradient(45deg, #2AF779, #64AD57 50%, #98C785 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    text-decoration: none;
}

.g_card_title_light {
    color: #2AF779;
    background-image: linear-gradient(45deg, #2AF779, #64AD57 50%, #98C785 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    text-decoration: none; 
}

.g_card_desc {
    margin: 0 10px 12px 10px;
    font-size: 0.86rem;
    line-height: 1.35;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.g_card_desc_dark {
    color: #c5ced8;
}

.g_card_desc_light {
    color: #4b5563;
}

.g_tabber_base {
  display: flex;
  flex-direction: column;
  background-color: var(--primary-color);
  border: 1px solid var(--tirtiary-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  height: 100%;
}

.g_tabber_horizontal {
    flex-direction: column;
}

.g_tabber_vertical {
    flex-direction: row;
}

.g_tabber_headers {
    display: flex;
    background-color: var(--fourth-color);
    gap: 2px;
    padding: 4px;
}

.g_tabber_horizontal .g_tabber_headers {
    flex-direction: row;
    border-bottom: 1px solid var(--tirtiary-color);
}

.g_tabber_vertical .g_tabber_headers {
    flex-direction: column;
    min-width: 170px;
    border-right: 1px solid var(--tirtiary-color);
}

.g_tabber_header {
    border: 0;
    background-color: transparent;
    color: var(--text-color);
    padding: 8px 32px;
    cursor: pointer;
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    border-radius: 6px 6px 0 0;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.g_tabber_header:hover {
    background-color: #253244;
    color: #e7edf5;
}

.g_tabber_header_active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: inset 0 -2px 0 var(--secondary-color);
}

.g_tabber_panels {
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.g_tabber_panel {
  display: none;
  padding: 14px;
}

.g_tabber_panel_active {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.g_form {
  margin: 8px;
  padding: 14px;
  background: linear-gradient(180deg, #1d2733 0%, var(--primary-color) 100%);
  border: 1px solid var(--tirtiary-color);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  flex: 0 0 auto;
}

.g_form_no_border {
    border: 0;
    box-shadow: none;
    border-radius: 0;
}

.g_form_no_margin {
    margin: 0;
}

.g_form .g_form_title {
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--tirtiary-color);
    color: var(--secondary-color);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.g_form_no_border .g_form_title {
    border-bottom: 0;
}

.g_form .frm_el {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.g_form label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.84rem;
    font-weight: 500;
    color: #9aa8b8;
    letter-spacing: 0.02em;
}

.g_form input[type="text"],
.g_form input[type="password"],
.g_form input[type="email"] {
    width: 100%;
    min-height: 34px;
    padding: 6px 10px;
    background-color: #101820;
    border: 1px solid #334457;
    border-radius: 8px;
    color: var(--text-color);
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.g_form input[type="text"]:focus,
.g_form input[type="password"]:focus,
.g_form input[type="email"]:focus {
    outline: none;
    border-color: #4acb6f;
    box-shadow: 0 0 0 3px rgba(74, 203, 111, 0.18);
    background-color: #0e151d;
}

.g_form input[type="text"]:hover,
.g_form input[type="password"]:hover,
.g_form input[type="email"]:hover {
    background-color: #131e2a;
}

.g_form input[type="text"]:-webkit-autofill,
.g_form input[type="text"]:-webkit-autofill:hover,
.g_form input[type="text"]:-webkit-autofill:focus,
.g_form input[type="password"]:-webkit-autofill,
.g_form input[type="password"]:-webkit-autofill:hover,
.g_form input[type="password"]:-webkit-autofill:focus,
.g_form input[type="email"]:-webkit-autofill,
.g_form input[type="email"]:-webkit-autofill:hover,
.g_form input[type="email"]:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-color);
    -webkit-box-shadow: 0 0 0 40px #101820 inset;
    transition: background-color 9999s ease-in-out 0s;
}

.g_form select {
    width: 100%;
    min-height: 34px;
    padding: 6px 10px;
    background-color: #101820;
    border: 1px solid #334457;
    border-radius: 8px;
    color: var(--text-color);
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.g_form select:focus {
    outline: none;
    border-color: #4acb6f;
    box-shadow: 0 0 0 3px rgba(74, 203, 111, 0.18);
}

.g_form select:hover {
    background-color: #131e2a;
}

.g_combobox {
    width: 100%;
    min-height: 36px;
    background-color: #1f2937;
    border: 1px solid #3a4659;
    border-radius: 8px;
    color: var(--text-color);
    padding: 6px 10px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.g_combobox:focus {
    outline: none;
    border-color: #6b8fd6;
    box-shadow: 0 0 0 3px rgba(107, 143, 214, 0.2);
}

.g_combobox:hover {
    background-color: #222f42;
}

.g_dropdown {
    position: relative;
    display: block;
    width: 100%;
}

.g_dropdown_trigger {
    width: 100%;
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background-color: #1f2937;
    border: 1px solid #3a4659;
    border-radius: 8px;
    color: var(--text-color);
    padding: 6px 10px;
    text-align: left;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.g_dropdown_trigger:hover {
    background-color: #222f42;
}

.g_dropdown_trigger:focus {
    outline: none;
    border-color: #6b8fd6;
    box-shadow: 0 0 0 3px rgba(107, 143, 214, 0.2);
}

.g_dropdown_list {
    max-height: 260px;
    overflow-y: auto;
    z-index: 9999;
    background-color: #1b2433;
    border: 1px solid #334155;
    border-radius: 10px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.g_dropdown_item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border: 0;
    background: transparent;
    color: var(--text-color);
    text-align: left;
    cursor: pointer;
}

.g_dropdown_item:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.g_dropdown_thumb {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.g_dropdown_label {
    color: var(--text-color);
}

.g_form .frm_btn_panel {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid var(--tirtiary-color);
}

.g_form_no_border .frm_btn_panel {
    border-top: 0;
}

.g_form .frm_btn_panel input[type="submit"] {
    position: relative;
    width: auto;
    min-width: 80px;
    margin-left: 8px;
    padding: 7px 14px;
    background: linear-gradient(180deg, #51cf76 0%, #33b85a 100%);
    border: 1px solid #2c8f48;
    border-radius: 8px;
    color: #0f2618;
    /* font-weight: 700; */
    font-size: 0.86rem;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.12s ease;
}

.g_form .frm_btn_panel input[type="submit"]:hover {
    filter: brightness(1.08);
}

.g_form .frm_btn_panel input[type="submit"]:active {
    transform: translateY(1px);
}

input[type="file"]::file-selector-button {
    background-color: var(--secondary-color);
    border: 1px solid #11161d;
    border-radius: 6px;
    padding: 8px;
}

input[type="submit"] {
    background-color: var(--secondary-color);
    border: 1px solid #11161d;
    border-radius: 6px;
    padding: 8px;
    /* font-weight: 700;
    font-size: 1.1rem; */
    cursor: pointer;
}

.g_toolbar_base {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--tirtiary-color);
  background: linear-gradient(180deg, #222e3c 0%, var(--primary-color) 100%);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  flex: 0 0 auto;
}

.g_toolbar_no_border {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.g_toolbar_no_margin {
  margin: 0;
}

.g_no_border {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.g_no_margin {
    margin: 0 !important;
}

.g_toolbar_button {
  background: linear-gradient(180deg, #51cf76 0%, #33b85a 100%);
  border: 1px solid #2c8f48;
  border-radius: 8px;
  padding: 7px 16px;
  color: #0f2618;
  font-weight: 500;
  font-size: 0.86rem;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.12s ease, box-shadow 0.2s ease;
}

.g_toolbar_button:hover {
  filter: brightness(1.08);
  box-shadow: 0 2px 8px rgba(74, 203, 111, 0.18);
}

.g_toolbar_button:active {
  transform: translateY(1px);
}

.g_btn_purple,
.g_form .frm_btn_panel input[type="submit"].g_btn_purple {
    background: none;
    background-color: #bfaaff !important;
    border-color: #8c6af3 !important;
    color: black !important;
}

.g_btn_yellow,
.g_form .frm_btn_panel input[type="submit"].g_btn_yellow {
    background: none;
    background-color: #eec459 !important;
    border-color: #b45309 !important;
    color: #1c1917 !important;
}

.g_toolbar_menu {
  position: relative;
}

.g_toolbar_menu_title {
  list-style: none;
  cursor: pointer;
  padding: 7px 12px;
  border: 1px solid var(--tirtiary-color);
  border-radius: 8px;
  color: var(--text-color);
  background-color: transparent;
  font-size: 0.86rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.g_toolbar_menu_title:hover {
  background-color: #263448;
  color: #e4eaf2;
}

.g_toolbar_menu_panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  display: flex;
  flex-direction: column;
  min-width: 150px;
  border: 1px solid #334155;
  border-radius: 10px;
  background: linear-gradient(180deg, #222e3c 0%, #1b2632 100%);
  padding: 6px;
  z-index: 20;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.g_toolbar_menu_item {
  background: transparent;
  border: 0;
  color: var(--text-color);
  text-align: left;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.86rem;
  transition: background-color 0.15s ease;
}

.g_toolbar_menu_item:hover {
  background-color: rgba(74, 203, 111, 0.1);
}

.g_toolbar_separator {
  width: 1px;
  height: 20px;
  margin: 0 4px;
  background-color: #3a4858;
  display: inline-block;
  border-radius: 1px;
}

.g_window {
    position: fixed;
    border: 1px solid var(--tirtiary-color);
    border-radius: 10px;
    background-color: var(--primary-color);
    overflow: hidden;
    min-width: 280px;
    min-height: 120px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.g_window_x_left { left: 12px; }
.g_window_x_center { left: 50%; transform: translateX(-50%); }
.g_window_x_right { right: 12px; }

.g_window_y_top { top: 12px; }
.g_window_y_center { top: 50%; transform: translateY(-50%); }
.g_window_y_bottom { bottom: 12px; }

.g_window_x_center.g_window_y_center { transform: translate(-50%, -50%); }

.g_window_title_bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border-bottom: 1px solid var(--tirtiary-color);
}

.g_window_title {
    color: var(--text-color);
    font-size: 0.92rem;
}

.g_window_action_btn_panel {
    display: flex;
    gap: 6px;
}

.g_window_action_btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.g_window_action_btn_close { background-color: #ff5f57; }
.g_window_action_btn_min { background-color: #febc2e; }
.g_window_action_btn_max { background-color: #28c840; }

.g_window_hidden {
    display: none;
}

.g_window_minimized {
    height: 34px !important;
}

.g_window_minimized > :not(.g_window_title_bar) {
    display: none;
}

.g_window_maximized {
    position: fixed;
    inset: 8px;
    width: auto !important;
    height: auto !important;
    z-index: 9998;
}

.g_table_grid_base {
  border: 1px solid var(--tirtiary-color);
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--primary-color);
  display: flex;
  flex-direction: column;
  flex: 1 1 0%;
  min-height: 0;
  padding: 8px;
  box-sizing: border-box;
  margin: 8px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

.g_table_wrapper {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

.g_table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.g_table thead {
  position: sticky;
  top: 0;
}

.g_table thead tr {
  background: linear-gradient(180deg, #2a3a4e 0%, var(--fourth-color) 100%);
  border-radius: 8px;
}

.g_table thead th:first-child {
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  padding-left: 32px;
}

.g_table thead th:last-child {
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  padding-right: 32px;
}

.g_table th,
.g_table td {
    padding: 9px 14px;
    border-bottom: 1px solid rgba(60, 67, 76, 0.5);
    color: var(--text-color);
    text-align: left;
    font-size: 0.88rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.g_table thead th {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: none;
}

.g_table tbody tr:first-child td {
  border-top: none;
}

.g_table tbody tr:first-child td:first-child {
  border-top-left-radius: 16px;
}

.g_table tbody tr:first-child td:last-child {
  border-top-right-radius: 16px;
}

.g_table tbody tr {
    transition: background-color 0.12s ease;
}

.g_table tbody tr:hover {
    background-color: rgba(74, 203, 111, 0.06);
    cursor: pointer;
}

.g_table tbody tr.g_table_row_selected {
    background-color: rgba(67, 196, 100, 0.12) !important;
    border-left: 3px solid var(--secondary-color);
}

.g_table_checkbox_col {
    width: 40px;
    text-align: center !important;
}

.g_table_checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--secondary-color);
}

.g_progress_bar {
    margin: 8px 10px 10px 10px;
    padding: 0;
    border: 0;
    background: transparent;
}

.g_progress_track {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background-color: #273445;
    overflow: hidden;
}

.g_progress_fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #39b95f 0%, #6fdf91 100%);
    transition: width 0.25s ease;
}

.g_progress_meta {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    color: var(--text-color);
    font-size: 0.86rem;
}

.g_progress_msg {
    margin-top: 6px;
    min-height: 1.1em;
    font-size: 0.84rem;
    color: #a7b6c8;
}

.g_progress_msg_success {
    color: #6fdf91;
}

.g_progress_msg_error {
    color: #ff6b6b;
}

.g_progress_log {
    margin-top: 8px;
    border: 0;
    background: transparent;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.8rem;
    color: #8fdda7;
    line-height: 1.35;
}

.g_progress_log_line {
    border: 0;
    padding: 0;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.g_window.g_window_progress {
    border: 1px solid #2d3b4b;
    background: linear-gradient(180deg, #1b2632 0%, #16212d 100%);
}

.g_notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-color);
  border: 1px solid var(--tirtiary-color);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  font-family: sans-serif;
  font-size: 1rem;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 400px;
  background: blur(32px) saturate(20%);;
  /* backdrop-filter: blur(16px) saturate(120%); */
  /* filter: blur(1px); */
  padding: 24px 32px;
  gap: 14px;
}

.g_notification_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.g_notification_success .g_notification_icon { color: #4acb6f; }
.g_notification_error .g_notification_icon { color: #ff6b6b; }
.g_notification_warning .g_notification_icon { color: #fbbf24; }
.g_notification_info .g_notification_icon { color: #6b8fd6; }

.g_notification_body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 12px;
}

.g_notification_msg {
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.45;
}

.g_notification_close {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.35);
  font-size: 1rem;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.g_notification_close:hover {
  color: rgba(255, 255, 255, 0.7);
}

.g_video_player {
    display: flex;
    flex-direction: column;
    width: 100%;
}

body.g_video_scrollable {
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
}

body.g_video_scrollable #root {
    overflow-y: auto;
    height: auto;
    min-height: auto;
    flex: none;
}

body.g_video_scrollable .g_container {
    height: auto;
    min-height: auto;
    overflow: visible;
}

.g_video_container {
    position: relative;
    width: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.g_video_el {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.g_video_info {
    padding: 16px 24px;
}

.g_video_title {
    font-size: 1.6rem;
    color: #2AF779;
    background-image: linear-gradient(45deg, #2AF779, #64AD57 50%, #98C785 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 8px 0;
    word-break: break-word;
}

.g_video_description {
    color: var(--text-color);
    font-size: 0.95rem;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.g_video_stats {
    display: flex;
    gap: 4px;
    font-size: 0.9rem;
}

.g_video_views {
    color: #3f74fc;
    padding: 4px 10px;
}

.g_video_views i,
.g_video_likes i,
.g_video_dislikes i {
    margin-right: 4px;
}

.g_video_likes {
    color: #3f74fc;
    background: var(--primary-color);
    padding: 4px 10px;
    border-radius: 6px 0 0 6px;
}

.g_video_dislikes {
    color: #3f74fc;
    background: var(--primary-color);
    padding: 4px 10px;
    border-radius: 0 6px 6px 0;
}

.g_video_related_wrapper {
    padding: 0 16px 16px 16px;
}

.g_video_related_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.g_video_related_header h3 {
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

.g_video_related_refresh {
    background: var(--primary-color);
    border: 1px solid var(--tirtiary-color);
    border-radius: 6px;
    color: var(--text-color);
    font-size: 1rem;
    padding: 4px 8px;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
    line-height: 1;
}

.g_video_related_refresh i {
    margin: 0;
}

.g_video_related_refresh:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.g_video_related {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    padding: 16px 0;
}

.g_video_related_card {
    flex: 0 0 auto;
    width: 200px;
    text-decoration: none;
}

.g_video_related_thumb {
    width: 200px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.g_video_related_placeholder {
    color: #2AF779;
    background-image: linear-gradient(45deg, #2AF779, #64AD57 50%, #98C785 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    padding: 8px;
    word-break: break-word;
}

.g_video_related_title {
    color: var(--text-color);
    font-size: 0.85rem;
    margin: 6px 0 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.g_video_related_card_current {
    position: relative;
}

.g_video_play_indicator {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 30px solid rgba(255, 255, 255, 0.6);
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.6));
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.g_video_playing .g_video_play_indicator {
    opacity: 0;
}

@media screen and (min-width: 400px) {
    .g_video_el { width: 400px; }
}
@media screen and (min-width: 600px) {
    .g_video_el { width: 600px; }
}
@media screen and (min-width: 800px) {
    .g_video_el { width: 800px; }
}
@media screen and (min-width: 1000px) {
    .g_video_el { width: 1000px; }
}
@media screen and (min-width: 1200px) {
    .g_video_el { width: 1200px; }
}
@media screen and (min-width: 1400px) {
    .g_video_el { width: 1400px; }
}
@media screen and (min-width: 1600px) {
    .g_video_el { width: 1600px; }
}

.g_notificacion2 {
    position: fixed;
    background: #ffffff49;
    right: 20px;
    bottom: 20px;
    padding: 16px;
    border-radius: 4px;
    backdrop-filter: blur(16px) saturate(160%);
    box-shadow: inset 0 0 0 200px rgba(255, 255, 255, 0.2);
    /* display: none; */
}
