.ag-snapshot-panel h3 {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.ag-snapshot-create {
    margin-bottom: 16px;
    /* padding: 12px; */
    background: #f5f5f5;
    border-radius: 4px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.ag-snapshot-create input, .ag-snapshot-create textarea {
    width: 100%;
    padding: 6px 8px;
    margin-bottom: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: inherit;
    font-size: 13px;
    box-sizing: border-box;
}

.ag-snapshot-create textarea {
    resize: vertical;
    min-height: 50px;
}

.ag-snapshot-create button {
    width: 100%;
    padding: 8px;
    background: var(--bs-btn-bg);
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
}

.ag-snapshot-create button:hover {
    background: var(--bs-btn-hover-bg);
}

.ag-snapshot-list {
    flex: 1;
    overflow-y: auto;
}

.ag-snapshot-item {
    /* padding: 10px; */
    margin-bottom: 8px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.ag-snapshot-item:hover {
    border-color: var(--bs-btn-bg);
    background: #f8f9fa;
}

.ag-snapshot-item.active {
    border-color: var(--bs-btn-bg);
    background: #dff2ed;
}

.ag-snapshot-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    padding: 10px;
}

.ag-snapshot-item-name {
    font-weight: 600;
    font-size: 13px;
    color: #333;
}

.ag-snapshot-item-actions {
    display: flex;
    gap: 4px;
}

.ag-snapshot-item-actions button {
    padding: 4px 8px;
    font-size: 11px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    background: #f5f5f5;
    color: #666;
}

.ag-snapshot-item-actions button:hover {
    background: #e0e0e0;
}

.ag-snapshot-item-actions .delete-btn {
    color: #d32f2f;
}

.ag-snapshot-item-desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
    padding: 0 10px;
}

.ag-snapshot-item-date {
    font-size: 11px;
    color: #999;
    padding-top: 0 !important;
    padding: 10px;
}

.ag-snapshot-empty {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 13px;
}

.ag-snapshot-edit-form {
    padding: 8px;
    background: #f5f5f5;
    border-radius: 3px;
    margin-top: 8px;
}

.ag-snapshot-edit-form input, .ag-snapshot-edit-form textarea {
    width: 100%;
    padding: 6px;
    margin-bottom: 6px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: inherit;
    font-size: 12px;
    box-sizing: border-box;
}

.ag-snapshot-edit-form textarea {
    resize: vertical;
    min-height: 40px;
}

.ag-snapshot-edit-form .button-group {
    display: flex;
    gap: 6px;
}

.ag-snapshot-edit-form button {
    flex: 1;
    padding: 6px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.ag-snapshot-edit-form .save-btn {
    background: var(--bs-btn-bg);
    color: white;
}

.ag-snapshot-edit-form .save-btn:hover {
    background: var(--bs-btn-hover-bg) !important;
}
.ag-snapshot-edit-form .cancel-btn {
    text-decoration: underline;
    background: transparent;
    padding-right:0;
    color: #555;
}
.ag-snapshot-edit-form .cancel-btn:hover {
    text-decoration:none;
}
.import-snapshot-btn,
.create-snapshot-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    gap:5px;
}