.ttlock-ekey-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background: #fff;
}

.ttlock-ekey-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.ttlock-ekey-item-name {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
}

.ttlock-ekey-item-username {
    color: #666;
}

.ttlock-ekey-item-details {
    font-size: 0.9em;
    color: #555;
}

.ttlock-ekey-item-details > div {
    margin-bottom: 8px;
}

.ttlock-ekey-item-details .label {
    font-weight: bold;
    color: #333;
    margin-right: 5px;
}

.ttlock-ekey-item-dates {
    color: #2196F3;
}

.ttlock-ekey-item-status {
    color: #4CAF50;
}

.ttlock-ekey-item-remarks {
    font-style: italic;
    color: #666;
    background: #f5f5f5;
    padding: 8px;
    border-radius: 4px;
}

.ttlock-ekey-item-rights {
    color: #FF9800;
}

.ttlock-ekey-item-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.ttlock-ekey-item-actions button {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.ttlock-ekey-item-actions button[data-action="freeze"] {
    background-color: #2196F3;
    color: white;
}

.ttlock-ekey-item-actions button[data-action="unfreeze"] {
    background-color: #4CAF50;
    color: white;
}

.ttlock-ekey-item-actions button[data-action="delete"] {
    background-color: #f44336;
    color: white;
}

.ttlock-ekey-item-actions button:hover {
    opacity: 0.9;
}

.ttlock-ekey-item-actions button.loading {
    opacity: 0.7;
    cursor: not-allowed;
}
