/* 💗 hailey msn status 💗 */
/* babie ~ 5bf6b477bc4l2 */

.hailey-status {
    display: flex;
    gap: 8px;
    align-items: center; 
    max-width: 217px;
    width: 100%;
    position: relative;
    cursor: default;
    font-size: 9px;
    padding: 6px 5px;
    box-sizing: border-box;
    line-height: 1.0;
    overflow-wrap: break-word;
    background: linear-gradient(
        128deg,
        rgba(180, 210, 255, 0.2),
        rgba(255, 150, 210, 0.4),
        rgba(180, 210, 255, 0.4)
    );
    background-size: 300% 300%;
    animation: flow 6s ease infinite;
}

@keyframes flow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hailey-status:hover {
background: linear-gradient(
    128deg,
    rgba(14, 150, 255, 0.25),
    rgba(255, 90, 180, 0.5),
    rgba(14, 150, 255, 0.45)
);
background-size: 300% 300%;
animation: flow 12s ease-in-out infinite;
}

@keyframes flow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hailey-status-icon {
    width: 48px;
    height: 48px;
    background-size: 100%;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.hailey-status-textwrap {
    flex: 1;
    min-width: 0;
}

.status-online  { background-image: url('/wp-content/plugins/hailey-msn-status/hailey-msn-online.png'); }
.status-away    { background-image: url('/wp-content/plugins/hailey-msn-status/hailey-msn-idle.png'); }
.status-busy    { background-image: url('/wp-content/plugins/hailey-msn-status/hailey-msn-busy.png'); }
.status-offline { background-image: url('/wp-content/plugins/hailey-msn-status/hailey-msn-offline.png'); }

.hailey-status-text {
    font-size: 12px;
}

.hailey-status-message {
    display: block;
    white-space: normal;
    overflow-wrap: break-word;
    line-height: 1.4;
    font-size: 12px;
    font-weight: bold;
}

.hailey-status-last-seen {
    width: auto;
    text-align: left;
    font-size: 11px;
    color: #756974;
}

.hailey-status-popup {
    position: absolute;
    z-index: 9999;
    top: 0;
    left: 95%;
    margin-left: 0px;
    background: rgba(255, 182, 193, 0.25);
    backdrop-filter: blur(5px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border-radius: 10px;
	border: 1px solid #f88cff;     
    padding: 0;
    width: 220px;
    z-index: 99999;
    box-shadow: 0 6px 18px rgba(255, 105, 180, 0.25);
    font-size: 13px;
}

.hailey-status-popup-inner {
    padding: 10px 12px;
}

.hailey-status-popup-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
}

.hailey-status-popup-row label {
    font-weight: 600;
    margin-bottom: 3px;
    color: #b03060;
    text-align: left;
    font-size: 12px;
}

.hailey-status-select,
.hailey-status-input {
    padding: 6px 8px;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.35);
    color: #5a2a3a;
    font-size: 12px;
    outline: none;
}

.hailey-status-select:focus,
.hailey-status-input:focus {
    background: rgba(255, 255, 255, 0.5);
}

.hailey-status-popup-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 6px;
}

.hailey-status-save,
.hailey-status-cancel {
    padding: 5px 10px;
    border-radius: 6px;
    border: none;    
    background: rgba(255, 182, 193, 0.45); 
    color: #5a2a3a;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: 0.15s ease;
}

.hailey-status-save:hover,
.hailey-status-cancel:hover {
    background: rgba(255, 182, 193, 0.65);
}
