.protect-uploads-passwords {
	margin: -6px -12px -12px;
}

.protect-uploads-passwords .existing-passwords {
	border-bottom: 1px solid #ddd;
	margin-bottom: 12px;
	padding: 12px 12px 12px;
}

.protect-uploads-passwords .existing-passwords h4 {
	margin: 0 0 8px;
}

.protect-uploads-passwords .existing-passwords ul {
	margin: 0;
}

.protect-uploads-passwords .existing-passwords li {
	margin-bottom: 5px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.protect-uploads-passwords .delete-password {
	color: #a00;
	text-decoration: none;
}

.protect-uploads-passwords .delete-password:hover {
	color: #dc3232;
}

.protect-uploads-passwords .add-password {
	padding: 0 12px 12px;
	border-bottom: 1px solid #ddd;
}

.protect-uploads-passwords .add-password p {
	margin: 0 0 12px;
}

.protect-uploads-passwords .add-password p:last-child {
	margin-bottom: 0;
}

.protect-uploads-passwords .add-password label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
}

.protect-uploads-passwords .add-password input {
	margin: 0;
}

.protect-uploads-passwords .access-logs {
	padding: 12px 12px 0;
}

.protect-uploads-passwords .access-logs h4 {
	margin: 0 0 8px;
}

.protect-uploads-passwords .access-logs table {
	margin: 0;
	border: 1px solid #ddd;
	border-spacing: 0;
	width: 100%;
}

.protect-uploads-passwords .access-logs th,
.protect-uploads-passwords .access-logs td {
	padding: 8px;
	text-align: left;
	font-size: 12px;
	border-bottom: 1px solid #ddd;
}

.protect-uploads-passwords .access-logs th {
	font-weight: 600;
	background: #f5f5f5;
}

.protect-uploads-passwords .access-logs tr:last-child td {
	border-bottom: none;
}

/* Hide password fields in media modal */
.media-modal .compat-field-protect_uploads_passwords {
	display: none;
} 