.aerone-sg-wrapper{
	background: #f0f0f1;
	border: 1px solid #ccd0d4;
	padding: 20px;
	border-radius: 8px;
}
.sg-tabs-nav{
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	border-bottom: 2px solid #ddd;
	padding-bottom: 10px;
}
.sg-tabs-nav .tag-add-btn{
	border-radius: 20px;
}
.sg-tabs-nav .nav-items{
	display: flex;
	gap: 5px;
}
.nav-tab-item{ 
    padding: 8px 16px;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 20px; 
    cursor: pointer;
	font-weight: 500;
	transition: 0.2s;
}
.nav-tab-item.active{
	background: #2271b1;
	color: #fff;
	border-color: #2271b1;
}
.sg-table-container{
	background: #fff;
	border-radius: 4px;
	overflow: hidden;
	border: 1px solid #ddd;
	margin: 15px 0;
}
#main-editor-table{
	width: 100%;
	border-collapse: collapse;
	margin-top: 15px;
}
#main-editor-table th, #main-editor-table td{
	border: 1px solid #ddd;
	padding: 8px;
	position: relative;
}
#main-editor-table input[type="text"] {
    width: 100%;
	border: none;
	background: transparent;
	text-align: center;
	font-weight: 500;
}
#main-editor-table input[type="text"]:focus {
	outline: none;
	background: #f0f8ff;
}

.sg-inner-btn{
    width: 20px;
	height: 20px;
	line-height: 18px;
	text-align: center;
    border-radius: 50%;
	border: 1px solid #ccc;
	background: #fff;
    cursor: pointer;
	font-size: 14px;
	padding: 0;
	margin: 0 2px;
}
.sg-inner-btn.add-col, .sg-inner-btn.add-row{
	color: #27ae60;
	border-color: #27ae60;
}
.sg-inner-btn.del-col, .sg-inner-btn.del-row{
	color: #e74c3c;
	border-color: #e74c3c;
}

.sg-cell-actions{ display: flex;
	justify-content: center;
	margin-bottom: 5px;
}
.sg-row-actions{ display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.sg-action-column{
	width: 60px;
	background: #f9f9f9;
	text-align: center;
}

/* Toolbar */
.sg-table-toolbar{
	display: flex;
	gap: 10px;
}
.sg-btn{
    display: inline-flex;
	align-items: center;
	gap: 5px; 
    padding: 6px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
}
.btn-danger{
	color: #d63638;
	border-color: #d63638;
	margin-left: auto;
}
.btn-danger:hover{
	background: #d63638;
	color: #fff;
}

/* Group */
.sg-field-group textarea{
	width: 100%;
	margin-top: 5px;
}

/* Footer */
.sg-table-actions-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #ccc;
    text-align: left;
}

.btn-danger {
    background: transparent !important;
    border: none !important;
    color: #a00 !important;
    cursor: pointer;
    text-decoration: underline;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
}

.btn-danger:hover {
    color: #f00 !important;
}

.btn-danger .dashicons {
    font-size: 16px;
    margin-right: 4px;
}

.aerone-sg-tab-editor-table a:before {
	content: "\f535" !important;
	font-family: "dashicons";
}