﻿* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    background: #f5f5f5;
}

h2 {
    color: #333;
}

.back-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 20px;
}

    .back-btn:hover {
        background: #5a6268;
    }

#actions {
    margin: 15px 0;
}

    #actions button {
        padding: 10px 20px;
        margin-right: 8px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        background: #007bff;
        color: white;
    }

        #actions button:first-child {
            background: #dc3545;
        }

#count {
    font-weight: bold;
    margin: 15px 0;
    color: #333;
}

#list {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.log-item {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

    .log-item:last-child {
        border-bottom: none;
    }

.log-info {
    flex: 1;
}

.log-action {
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 10px;
}

    .log-action.ADD {
        background: #28a745;
        color: white;
    }

    .log-action.DELETE, .log-action.CLEAR_ALL {
        background: #dc3545;
        color: white;
    }

    .log-action.ADD_MEDIA {
        background: #17a2b8;
        color: white;
    }

    .log-action.DELETE_MEDIA {
        background: #fd7e14;
        color: white;
    }

.log-entity {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

.log-date {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}
