.nbk-tab { margin-top: 20px; }
.nbk-tab .form-table th { width: 240px; }
.nbk-progress { position: relative; height: 22px; background: linear-gradient(180deg,#f5f7fa,#e9edf3); border-radius: 999px; margin: 12px 0 6px; overflow: hidden; box-shadow: inset 0 1px 2px rgba(0,0,0,.06); }
.nbk-progress .nbk-bar { position: absolute; left:0; top:0; bottom:0; width:0; background: linear-gradient(90deg,#4f8cf5,#7bb4ff); transition: width .25s ease; box-shadow: 0 0 12px rgba(79,140,245,.4); }
.nbk-progress .nbk-text { position: relative; display:block; text-align:right; font-size: 12px; color:#334155; margin-top: 6px; }
.nbk-current { font-size:12px; color:#475569; margin-bottom:6px; display:flex; align-items:center; gap:8px; }
.nbk-current .dashicons { color:#2271b1; }

.nbk-layout { display:flex; gap: 20px; align-items:flex-start; }
.nbk-left { flex: 1 1 auto; min-width: 0; }
.nbk-right { width: 320px; flex: 0 0 320px; }
.nbk-card { background: #fff; border:1px solid #dcdcde; border-radius:8px; padding: 16px; }
.nbk-card-header { text-align:center; margin-bottom: 12px; }
.nbk-logo { margin-bottom: 8px; }
.nbk-logo-text { font-weight:700; font-size: 20px; }
.nbk-agency { margin: 0; color:#555; }
.nbk-tagline { color:#444; }
.nbk-card form .nbk-field { margin-bottom: 10px; }
.nbk-card form input[type="text"],
.nbk-card form input[type="email"],
.nbk-card form textarea { width: 100%; }

/* Backup actions spacing */
.widefat td .button + form { margin-left: 8px !important; }
.widefat td form { display: inline-block; }

/* Cloud Storage Selection - Beautiful Card Layout */
.nbk-cloud-storage-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
	margin-bottom: 8px;
}

.nbk-cloud-storage-card {
	background: #fff;
	border: 2px solid #dcdcde;
	border-radius: 8px;
	padding: 0;
	transition: all 0.2s ease;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.nbk-cloud-storage-card:hover:not(.nbk-storage-disabled) {
	border-color: #2271b1;
	box-shadow: 0 2px 8px rgba(34, 113, 177, 0.15);
	transform: translateY(-2px);
}

.nbk-cloud-storage-card.nbk-storage-disabled {
	opacity: 0.6;
	cursor: not-allowed;
	background: #f6f7f7;
}

.nbk-cloud-storage-label {
	display: block;
	margin: 0;
	padding: 0;
	cursor: pointer;
}

.nbk-cloud-storage-card.nbk-storage-disabled .nbk-cloud-storage-label {
	cursor: not-allowed;
}

.nbk-cloud-checkbox {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	margin: 0;
}

.nbk-cloud-storage-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px 16px;
	text-align: center;
	position: relative;
}

.nbk-cloud-checkbox:checked + .nbk-cloud-storage-content::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(34, 113, 177, 0.08) 0%, rgba(34, 113, 177, 0.03) 100%);
	border-radius: 6px;
	z-index: 0;
}

.nbk-cloud-checkbox:checked + .nbk-cloud-storage-content::after {
	content: '✓';
	position: absolute;
	top: 8px;
	right: 8px;
	width: 24px;
	height: 24px;
	background: #2271b1;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: bold;
	z-index: 1;
	box-shadow: 0 2px 4px rgba(34, 113, 177, 0.3);
}

.nbk-cloud-storage-card.nbk-cloud-selected {
	border-color: #2271b1;
	background: linear-gradient(135deg, rgba(34, 113, 177, 0.02) 0%, rgba(34, 113, 177, 0.01) 100%);
	box-shadow: 0 2px 8px rgba(34, 113, 177, 0.15);
}

.nbk-cloud-icon {
	font-size: 32px;
	color: #2271b1;
	margin-bottom: 12px;
	position: relative;
	z-index: 1;
}

.nbk-cloud-storage-card.nbk-storage-disabled .nbk-cloud-icon {
	color: #8c8f94;
}

.nbk-cloud-name {
	font-size: 15px;
	font-weight: 600;
	color: #1d2327;
	margin-bottom: 8px;
	position: relative;
	z-index: 1;
}

.nbk-cloud-storage-card.nbk-storage-disabled .nbk-cloud-name {
	color: #646970;
}

.nbk-cloud-status {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	padding: 4px 8px;
	border-radius: 4px;
	position: relative;
	z-index: 1;
}

.nbk-cloud-status-ready {
	color: #00a32a;
	background: rgba(0, 163, 42, 0.1);
}

.nbk-cloud-status-ready .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.nbk-cloud-status-config {
	color: #d63638;
	background: rgba(214, 54, 56, 0.1);
}

.nbk-cloud-status-config .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.nbk-cloud-status-config a {
	color: #d63638;
	text-decoration: none;
	font-weight: 500;
}

.nbk-cloud-status-config a:hover {
	text-decoration: underline;
}


/* Storage Instructions Styling */
.nbk-storage-instructions {
	background: linear-gradient(135deg, #f0f6fc 0%, #e8f4f8 100%);
	border: 1px solid #c3d4e6;
	border-left: 4px solid #2271b1;
	border-radius: 6px;
	padding: 20px;
	margin-bottom: 24px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nbk-instructions-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.nbk-instructions-header .dashicons {
	color: #2271b1;
	font-size: 24px;
	width: 24px;
	height: 24px;
}

.nbk-instructions-header h3 {
	margin: 0;
	font-size: 18px;
	color: #1d2327;
	font-weight: 600;
}

.nbk-instructions-content {
	color: #2c3338;
	line-height: 1.6;
}

.nbk-instructions-content ol {
	margin: 0 0 16px 0;
	padding-left: 24px;
}

.nbk-instructions-content ol li {
	margin-bottom: 10px;
	padding-left: 8px;
}

.nbk-instructions-content ol li:last-child {
	margin-bottom: 0;
}

.nbk-instructions-content p {
	margin: 16px 0 0 0;
	padding-top: 16px;
	border-top: 1px solid #c3d4e6;
}

.nbk-instructions-content a {
	color: #2271b1;
	text-decoration: none;
	font-weight: 500;
}

.nbk-instructions-content a:hover {
	text-decoration: underline;
}

.nbk-instructions-content strong {
	color: #1d2327;
}

/* Responsive adjustments */
@media (max-width: 782px) {
	.nbk-cloud-storage-grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 12px;
	}
	
	.nbk-cloud-storage-content {
		padding: 16px 12px;
	}
	
	.nbk-cloud-icon {
		font-size: 28px;
		margin-bottom: 10px;
	}
	
	.nbk-cloud-name {
		font-size: 14px;
	}
	
	.nbk-storage-instructions {
		padding: 16px;
	}
	
	.nbk-instructions-header h3 {
		font-size: 16px;
	}
}
