/*
 Theme Name:   Ro-Casting Child
 Theme URI:    https://dragosonisei.com
 Description:  Ro-Casting Theme
 Author:       Dragos
 Author URI:   https://dragosonisei.com
 Template:     talenthunt
 Version:      1.8.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         two-columns, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style
 Text Domain:  ro-casting-child
*/

/* The dot itself */
.status-dot {
  display: none;
  position: absolute;
  top: 50px;
  right: 16px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #fff;
  background-color: #999;
  transition: background-color 0.3s;
}

.status-dot.green {
  background-color: #28a745;
}

/* Tooltip styling */
.status-dot[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 20px;
  right: 0;
  /* left: 0; */
  width: 200px;
  background: #fc5622;
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 4px;
  white-space: pre-wrap;
  word-break: break-word;
  z-index: 9999;
  max-width: 220px;
  pointer-events: none;
  box-shadow: 0 2px 6px #fc5622;
}

/* Tooltip arrow (optional) */
.status-dot[data-tooltip]:hover::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 10px;
  border: 6px solid transparent;
  border-bottom-color: #fc5622;
  z-index: 9999;
}

.status-dot[data-tooltip=""]:hover::after,
.status-dot[data-tooltip=""]:hover::before,
.status-dot:not([data-tooltip]):hover::after,
.status-dot:not([data-tooltip]):hover::before {
  display: none;
}

.um-member-photo:hover .status-dot {
  display: block;
}

/* Parent ko relative rakhen */
.um-member-photo {
  position: relative;
}