*, *::before, *::after {
	box-sizing: border-box;
}
*:not(dialog) {
	margin: 0;
}

body {
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-weight: 300;
	font-size: 14px;
	color: #212427;
}

button {
	margin-top: 5px;
}

ul {
	list-style-type: none;
	padding: 0;
}

li {
	margin-bottom: 12px;
}

a {
	font-weight: 300;
	text-decoration: none;
}

h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
strong {
	font-weight: 500;
}

input, select, textarea {
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
}

::placeholder {
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
}

#flashes {
	list-style: none;
	padding: 0;
	margin: 1rem 0;
}
#flashes li {
	padding: 10px;
	border-radius: 5px;
	margin-bottom: 10px;
}
#flashes li.success {
	background-color: #d4edda;
	color: #155724;
}
#flashes li.error {
	background-color: #f8d7da;
	color: #721c24;
}


/***********************************/
/****** LOGIN AND SIGNUP FORM ******/
/***********************************/

#promptly-mail-iam-div-outer {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#promptly-mail-iam-div {
	width: 100%;
	margin: 128px 0 64px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#promptly-mail-iam-div img {
	filter: brightness(0) saturate(100%) invert(20%) sepia(94%) saturate(3074%) hue-rotate(12deg) brightness(97%) contrast(95%);
}

.promptly-mail-signup-form,
.promptly-mail-login-form {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.promptly-mail-form-field {
	width: 300px;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	font-size: 14px;
	margin-top: 24px;
}
.promptly-mail-form-field label {
	text-align: center;
	margin-bottom: 5px;
}
.promptly-mail-form-field input,
.promptly-mail-form-field textarea {
	width: 100%;
	height: 40px;
	padding: 0 8px;
	border: 1px solid #bbb;
	border-radius: 8px;
    font-size: 14px;
	box-shadow: none;
}
.promptly-mail-form-field textarea {
	height: auto;
	min-height: 120px;
	padding: 8px;
}
.promptly-mail-signup-form button,
.promptly-mail-login-form button,
.promptly-mail-settings-form input[type="submit"] {
	width: 300px;
	max-width: 100%;
	box-shadow: none;
	background: #212427;
	border: 1px solid #212427;
	color: #fff;
	border-radius: 1000px;
	padding: 8px 8px;
	cursor: pointer;
	transition: background .3s, color .3s;
	text-align: center;
	font-size: 14px;
	margin: 24px 0;
}
.promptly-mail-signup-form button:hover,
.promptly-mail-login-form button:hover,
.promptly-mail-settings-form input[type="submit"]:hover {
	background: #5e6267;
	border-color: #5e6267;
	color: #fff;
}


/***********************************/
/************ DASHBOARD ************/
/***********************************/

.promptly-mail-dashboard-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 1400px;
	max-width: 90%;
	margin: 40px auto 0;
	gap: 20px;
}
.promptly-mail-dashboard-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}
.promptly-mail-dashboard-header a{
	font-size: 16px;
}
.promptly-mail-dashboard-container #flash-messages {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 20px;
	background-color: #d4edda;
	color: #155724;
	border-radius: 8px;
}
.promptly-mail-dashboard-container #flash-messages .flash {
	margin-bottom: 4px;
}
.promptly-mail-dashboard-container #flash-messages .flash:last-of-type {
	margin-bottom: 0;
}
.promptly-mail-dashboard-container section {
	display: flex;
	flex-direction: column;
	width: calc(50% - 10px);
	margin-top: 20px;
	padding: 20px;
	background: #f4f4f4;
	border-radius: 8px;
}
.promptly-mail-dashboard-container h2 {
	margin-bottom: 12px;
}
.promptly-mail-dashboard-container section #update-message {
	margin-top: 0;
}
.promptly-mail-dashboard-container section .flash {
	margin-bottom: 12px;
}
.promptly-mail-dashboard-container h3 {
	margin: 16px 0 12px;
}
.promptly-mail-dashboard-container section p,
.promptly-mail-dashboard-container section br {
	margin-bottom: 4px;
}
.promptly-mail-dashboard-connect-gmail {
	margin: 8px 0 0;
}
.promptly-mail-dashboard-bottom {
	width: 100%;
}

.plan-actions {
	display: flex;
	flex-direction: column;
}
.plan-actions a {
	margin-top: 4px;
}
.plan-actions a:before {
	content: "👉 ";
}

.account-actions {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}
.account-actions a {
	margin: 4px 10px 0 0;
	text-decoration: none;
	background: #007BFF;
	color: white;
	padding: 6px 12px;
	border-radius: 4px;
}

.account-actions a:hover {
	background: #006Bbb;
}

.account-actions a.delete,
.account-actions a.remove {
	background: #dc3545;
}

.account-actions a.delete:hover,
.account-actions a.remove:hover {
	background: #b02535;
}

.account-actions a.update-templates {
	background: #17a2b8;
}

.account-actions a.update-templates:hover {
	background: #138496;
}


/***********************************/
/************ SETTINGS *************/
/***********************************/

.promptly-mail-settings-container {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin: 0 0 20px;
	padding: 20px;
	background: #f4f4f4;
	border-radius: 8px;
}
.promptly-mail-settings-form {
	width: 100%;
	display: flex;
	flex-direction: column;
}
.promptly-mail-settings-form .promptly-mail-form-field {
	width: 600px;
	align-items: initial;
}
.promptly-mail-settings-form .promptly-mail-form-field label {
	text-align: left;
}

.skip-row {
	display: flex;
	justify-content: space-between;
	margin: 0 0 8px;
}
.skip-row input {
	width: calc(100% - 128px);
}
.skip-row button {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 120px;
	height: 40px;
	margin: 0;
	padding: 0;
	box-shadow: none;
	border: none;
	background: #dc3545;
	color: #fff;
	border-radius: 1000px;
	cursor: pointer;
	transition: background .3s, color .3s;
	font-size: 14px;
}
.skip-row button:hover {
	background: #b02535;
	color: #fff;
}
.add-new-skip-address {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 120px;
	height: 40px;
	margin: 0 0 0 auto;
	padding: 0;
	box-shadow: none;
	border: 1px solid #212427;
	background: transparent;
	color: #212427;
	border-radius: 1000px;
	cursor: pointer;
	transition: background .3s, color .3s;
	font-size: 14px;
}
.add-new-skip-address:hover {
	background: #212427;
	color: #fff;
}

.promptly-mail-settings-form-save-container {
	display: flex;
	width: 100%;
	margin: 60px 0 0;
}
.promptly-mail-settings-form input[type="submit"] {
	width: 180px;
	margin: 0 0 0 auto;
}

.promptly-mail-settings-page-back-to-dashboard {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin: 12px 0 0;
}

/***********************************/
/************ RESPONSIVE ***********/
/***********************************/

@media screen and (max-width: 768px) {
	.promptly-mail-dashboard-container {
		gap: 0px;
	}
	.promptly-mail-dashboard-container section {
		width: 100%;
	}
	.promptly-mail-settings-page-back-to-dashboard {
		margin: 32px 0 20px;
	}
}