.ms-form,
.ms-directory,
.ms-profile,
.ms-account-shell {
	max-width: 1120px;
	margin: 24px 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #1f2937;
}

.ms-password-toggle i {
     color: #0066e6 !important;

}
.ms-password-toggle{
    padding: 5px 10px !important;
    min-height: auto !important;
    color: #0066e6 !important;
    background: none !important;
    box-shadow: none !important;
    color: #0066e6 !important;
}

.ms-profile-hero,
.ms-account-card,
.ms-dashboard-card,
.ms-fieldset {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.ms-profile-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 22px;
	align-items: center;
	padding: 26px;
	margin-bottom: 22px;
	background: #ffffff;
}

.ms-profile-main h2 {
	margin: 0 0 6px;
	font-size: 30px;
	line-height: 1.2;
	color: #111827;
}

.ms-profile-main p {
	margin: 0 0 12px;
	color: #6b7280;
	font-size: 15px;
}

.ms-profile-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ms-profile-meta span {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 7px 11px;
	border-radius: 999px;
	background: #eef5ff;
	color: #1d4ed8;
	font-weight: 600;
	font-size: 14px;
}

.ms-profile-actions,
.ms-account-actions,
.ms-form-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.ms-dashboard-cards {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
	margin: 0 0 22px;
}

.ms-dashboard-card {
	padding: 17px;
	min-height: 96px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.ms-dashboard-card small {
	display: block;
	color: #6b7280;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 0.04em;
}

.ms-dashboard-card strong {
	display: block;
	margin-top: 7px;
	color: #111827;
	font-size: 16px;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.ms-account-sections {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	margin-bottom: 22px;
}

.ms-account-card {
	padding: 22px;
}

.ms-account-form-header {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	align-items: center;
	margin-bottom: 20px;
	padding: 22px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.ms-account-form-header h2 {
	margin: 0 0 5px;
	color: #111827;
	font-size: 26px;
}

.ms-account-form-header p {
	margin: 0;
	color: #6b7280;
}

.ms-fieldset {
	border: 1px solid #e5e7eb;
	padding: 22px;
	margin: 0 0 20px;
}

.ms-fieldset legend {
	font-weight: 800;
	padding: 0 8px;
	color: #111827;
	font-size: 18px;
}

.ms-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 17px;
}

.ms-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	font-weight: 700;
	color: #374151;
}

.ms-field strong {
	color: #dc2626;
}

.ms-field input,
.ms-field textarea,
.ms-field select,
.ms-search-form input {
	width: 100%;
	border: 1px solid #d1d5db;
	border-radius: 12px;
	padding: 12px 14px;
	font-size: 15px;
	line-height: 1.4;
	background: #ffffff;
	color: #111827;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
}

.ms-field input[readonly],
.ms-field textarea[readonly] {
	background: #f9fafb;
	color: #111827;
	cursor: default;
}

.ms-field input:focus,
.ms-field textarea:focus,
.ms-field select:focus,
.ms-search-form input:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.ms-field textarea {
	min-height: 108px;
	resize: vertical;
}

.ms-field-textarea {
	grid-column: span 2;
}

.ms-password-wrap {
	position: relative;
	display: block;
	width: 100%;
}

.ms-password-wrap input {
	padding-right: 48px;
}

.ms-password-toggle {
	position: absolute;
	top: 50%;
	right: 8px;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 10px;
	background: #f3f4f6;
	color: #374151;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	line-height: 1;
}

.ms-password-toggle:hover {
	background: #e5e7eb;
}

.ms-button,
.ms-form button,
.ms-search-form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 12px;
	padding: 11px 18px;
	background: #2563eb;
	color: #ffffff!important;
	text-decoration: none;
	cursor: pointer;
	min-height: 44px;
	box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}



.ms-button-large {
	min-height: 52px;
	padding: 14px 24px;
	font-size: 16px;
}

.ms-button-secondary {
	background: #f3f4f6;
	color: #111827!important;
	box-shadow: none;
}

.ms-button-secondary:hover {
	background: #e5e7eb;
	color: #111827!important;
	box-shadow: none;
}

.ms-button-danger,
.ms-logout-button {
	background: #dc2626;
	box-shadow: 0 8px 18px rgba(220, 38, 38, 0.18);
}

.ms-button-danger:hover,
.ms-logout-button:hover {
	background: #b91c1c;
	box-shadow: 0 12px 22px rgba(220, 38, 38, 0.24);
}

.ms-notice {
	border-left: 4px solid #2563eb;
	background: #eef5ff;
	padding: 13px 15px;
	margin: 16px 0;
	border-radius: 10px;
}

.ms-notice p {
	margin: 0 0 6px;
}

.ms-notice p:last-child {
	margin-bottom: 0;
	margin-top: 0;
}

.ms-notice-error {
	border-left-color: #dc2626;
	background: #fef2f2;
}

.ms-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 18px;
	background: #ffffff;
}

.ms-table th,
.ms-table td {
	border: 1px solid #e5e7eb;
	padding: 10px;
	text-align: left;
	vertical-align: top;
}

.ms-table th {
	background: #f9fafb;
	font-weight: 800;
}

.ms-search-form,
.ms-admin-search {
	display: flex;
	gap: 10px;
	align-items: center;
	margin: 0 0 16px;
}

.ms-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}

.ms-pagination a {
	border: 1px solid #d1d5db;
	border-radius: 10px;
	padding: 7px 11px;
	text-decoration: none;
}

.ms-pagination a.active {
	background: #2563eb;
	border-color: #2563eb;
	color: #ffffff;
}

.ms-profile-section {
	border-bottom: 1px solid #e5e7eb;
	padding: 0 0 16px;
	margin: 0 0 16px;
}

.ms-profile dl {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 8px 16px;
}

.ms-profile dt {
	font-weight: 800;
}

.ms-profile dd {
	margin: 0;
}

.ms-delete-link {
	color: #dc2626;
}

@media (max-width: 1024px) {
	.ms-dashboard-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.ms-profile-hero {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.ms-profile-meta,
	.ms-profile-actions,
	.ms-account-actions,
	.ms-form-actions,
	.ms-account-form-header {
		justify-content: center;
	}

	.ms-account-form-header {
		flex-direction: column;
		text-align: center;
	}

	.ms-dashboard-cards,
	.ms-grid,
	.ms-profile dl {
		grid-template-columns: 1fr;
	}

	.ms-field-textarea {
		grid-column: span 1;
	}

	.ms-table {
		display: block;
		overflow-x: auto;
	}

	.ms-search-form,
	.ms-admin-search {
		flex-direction: column;
		align-items: stretch;
	}

	.ms-button,
	.ms-form button,
	.ms-search-form button {
		width: 100%;
	}
}
.ms-search-form input {
    width: 90%!important;
}

.submit-btn{
    margin-top:10px;
}