div.online-indicator {
	display: inline-block;
	width: 15px;
	height: 15px;
	left: -7px;
	top: 2px;
	background-color: #0fcc45;
	border-radius: 50%;

	position: relative;
}

div.offline-indicator {
	display: inline-block;
	width: 15px;
	height: 15px;
	left: -7px;
	top: 2px;
	background-color: #808080;
	border-radius: 50%;

	position: relative;
}

span.blink {
	display: block;
	width: 15px;
	height: 15px;

	background-color: #0fcc45;
	opacity: 0.7;
	border-radius: 50%;

	animation: blink 1s linear infinite;
}

/*Animations*/

@keyframes blink {
	100% { transform: scale(2, 2); 
		opacity: 0;
	}
}

#crown {
	position: relative;
    top: -2px;	
}

/* Media Library Modal Overlay */
.modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark overlay */
}

/* Modal Content */
.modal-content {
    background-color: #fff;
    border-radius: 8px;
    width: 60%;
    max-width: 800px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

/* Close Button */
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #333;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

/* Header Styling */
.modal-header h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Tab Navigation */
#media-tabs {
    margin-bottom: 20px;
}

#media-tabs .nav-link {
    padding: 10px;
    cursor: pointer;
}

/* Upload and Media Library Sections */
#upload-section,
#library-section {
    display: none; /* Initially hidden, will be shown via JavaScript */
}

#upload-section.active,
#library-section.active {
    display: block;
}

/* No Media Message */
#no-media-message {
    text-align: center;
    font-size: 16px;
    color: #d9534f; /* Warning/Alert color */
    background-color: #f2dede;
    padding: 10px;
    border-radius: 4px;
    margin-top: 20px;
}

/* Styling for media items */
#upload-preview,
#media-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.media-item {
    display: inline-block;
    margin: 10px;
    text-align: center;
}

.media-item img {
    max-width: 100px;
    border: 1px solid #ddd;
    padding: 5px;
    margin-bottom: 10px;
}

.media-item button {
    display: block;
}

.hidden {
	display:none;
}