/* PLACE YOU CUSTOM STYLES IN THIS FILE */
/* Základní alert box */
.alert-box {
    position: relative;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0 30px 0;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

/* Přidání klikatelnosti */
.alert-box.clickable {
    display: block;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Hover overlay efekt */
.alert-box.clickable::after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.alert-box.clickable:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.alert-box.clickable:hover::after {
    opacity: 1;
}

/* Základní vnitřní struktura */
.alert-box .alert-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.alert-box .alert-icon {
    font-size: 2em;
    flex-shrink: 0;
}

.alert-box .alert-title {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
}

.alert-box .alert-text {
    margin: 0;
    padding-left: 55px;
    position: relative;
    z-index: 1;
    line-height: 1.5;
}

/* Varianty alert boxů */

/* Info (modrá) */
.alert-box.info {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 123, 255, 0.2) 100%);
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

.alert-box.info .alert-icon,
.alert-box.info .alert-title {
    color: #0d6efd;
}

.alert-box.info.clickable::after {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.2) 0%, rgba(0, 123, 255, 0.3) 100%);
}

.alert-box.info.clickable:hover {
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

/* Success (zelená) */
.alert-box.success {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1) 0%, rgba(25, 135, 84, 0.2) 100%);
    border-color: rgba(25, 135, 84, 0.3);
    box-shadow: 0 2px 8px rgba(25, 135, 84, 0.1);
}

.alert-box.success .alert-icon,
.alert-box.success .alert-title {
    color: #198754;
}

.alert-box.success.clickable::after {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.2) 0%, rgba(25, 135, 84, 0.3) 100%);
}

.alert-box.success.clickable:hover {
    box-shadow: 0 5px 15px rgba(25, 135, 84, 0.2);
}

/* Warning (oranžová) */
.alert-box.warning {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, rgba(255, 140, 0, 0.2) 100%);
    border-color: rgba(255, 140, 0, 0.3);
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.1);
}

.alert-box.warning .alert-icon,
.alert-box.warning .alert-title {
    color: #ff8c00;
}

.alert-box.warning.clickable::after {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.2) 0%, rgba(255, 140, 0, 0.3) 100%);
}

.alert-box.warning.clickable:hover {
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.2);
}

/* Danger (červená) */
.alert-box.danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.2) 100%);
    border-color: rgba(220, 53, 69, 0.3);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.1);
}

.alert-box.danger .alert-icon,
.alert-box.danger .alert-title {
    color: #dc3545;
}

.alert-box.danger.clickable::after {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2) 0%, rgba(220, 53, 69, 0.3) 100%);
}

.alert-box.danger.clickable:hover {
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.2);
}

/* Light (světlá) */
.alert-box.light {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.1) 0%, rgba(248, 249, 250, 0.2) 100%);
    border-color: rgba(248, 249, 250, 0.3);
    box-shadow: 0 2px 8px rgba(248, 249, 250, 0.1);
}

.alert-box.light .alert-icon,
.alert-box.light .alert-title {
    color: #f8f9fa;
}

.alert-box.light.clickable::after {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.2) 0%, rgba(248, 249, 250, 0.3) 100%);
}

.alert-box.light.clickable:hover {
    box-shadow: 0 5px 15px rgba(248, 249, 250, 0.2);
}

/* Textové barvy */
.alert-box {
    color: rgba(255, 255, 255, 0.9);
}

.alert-box.light {
    color: rgba(33, 37, 41, 0.9);
}

/* Indikátor klikatelnosti (šipka) */
.alert-box.clickable::before {
    font-family: 'FontAwesome';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: currentColor;
    opacity: 0.5;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1;
}

.alert-box.clickable:hover::before {
    transform: translate(5px, -50%);
    opacity: 0.8;
}

/* Responzivní úpravy */
@media (max-width: 768px) {
    .alert-box .alert-text {
        padding-left: 0;
    }

    .alert-box .alert-header {
        gap: 10px;
    }

    .alert-box.clickable::before {
        display: none;
    }
}

.status-online {
    color: #2ecc71;
    font-weight: bold;
}

.status-idle {
    color: #f1c40f;
    font-weight: bold;
}

.status-offline {
    color: #e74c3c;
    font-weight: bold;
}

.user-status {
    color: #fff;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-label {
    opacity: 0.7;
}

#user-status-display {
    font-weight: 600;
    font-size: 1.1em;
    transition: color 0.3s ease;
}
