@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&family=Style+Script&display=swap");

.cv-dashboard-container .tab-content {
	display: none;
}
.cv-dashboard-container .active-content {
	display: block;
}
.cv-dashboard-container #signatureResponse img {
	margin-top: 10px;
	border: 1px solid #ddd;
	border-radius: 5px;
	max-width: 100px;
	display: inline-block;
}

.cv-dashboard-container .tab,
.cv-dashboard-container label,
.cv-dashboard-container p,
.cv-dashboard-container button,
.cv-dashboard-container td,
.cv-dashboard-container th,
.cv-dashboard-container h1,
.cv-dashboard-container h3,
#cover-letter-result {
	font-family: "Raleway", sans-serif !important;
}
.wpcv-download-wrap p {
	padding: 30px;
}
.cv-dashboard-container {
	max-width: 1200px;
}
.cv-dashboard-container .cv-dashboard-wrapper {
	display: flex;
	align-items: start;
	margin-left: auto !important;
	margin-right: auto !important;
	justify-content: center;
	gap: 20px;
}
.cv-dashboard-container .tabs {
	background: #fff;
	border-radius: 16px;
	padding: 25px 25px;
	box-shadow: 0 4px 8px rgb(0 0 0 / 3%);
	width: 255px;
	border: 1px solid #ebebeb;
	display: flex;
	flex-direction: column;
	row-gap: 10px;
	height: 440px;
}
.cv-dashboard-container .wpcv-tab-content-wrap .tab-content.active-content {
	background: #fff;
	border-radius: 10px;
	padding: 25px 25px;
	box-shadow: 0 4px 8px rgb(0 0 0 / 3%);
	border: 1px solid #ebebeb;
	width: 825px;
}
.cv-dashboard-container
	.wpcv-tab-content-wrap
	.tab-content.active-content.download-tab {
	padding: 0;
}
.cv-dashboard-container .tabs .tab {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 15px;
	font-size: 16px;
	color: #353535;
	text-decoration: none;
	border-radius: 8px;
	transition: all 0.3s ease;
	font-family: "Raleway", sans-serif;
	font-weight: 600;
	text-transform: capitalize;
	cursor: pointer;
}
.cv-dashboard-container .wpcv-page-title-wrap form {
	margin: 0;
}
.cv-dashboard-container .wpcv-page-title-wrap form {
	display: flex;
	gap: 20px;
	align-items: center;
}
.cv-dashboard-container .wpcv-page-title-wrap form label {
	display: block;
	font-weight: 500;
	font-size: 16px;
	margin-bottom: 10px;
	color: #353535;
}
.cv-dashboard-container .wpcv-page-title-wrap form label span {
	display: inline-block;
	margin-bottom: 10px;
}
.cv-dashboard-container .open-ai-cover-letter input,
.cv-dashboard-container .open-ai-cover-letter textarea,
.cv-dashboard-container .wpcv-page-title-wrap form input,
.bwdcv-loss-pass-wrap #bwdcv-wc-lost-password-ajax input {
	border-radius: 8px;
	border: 1px solid #ebebeb;
	padding: 0;
	height: 44px;
	width: 100%;
	max-width: 456px;
	padding-left: 18px;
	padding-right: 18px;
	outline: none;
}
.cv-dashboard-container .open-ai-cover-letter input,
.cv-dashboard-container .open-ai-cover-letter textarea,
.bwdcv-loss-pass-wrap #bwdcv-wc-lost-password-ajax input {
	width: 100%;
	max-width: 100%;
}
.cv-dashboard-container .open-ai-cover-letter textarea {
	height: 160px;
	padding-top: 18px;
	padding-bottom: 15px;
}
.cv-dashboard-container .open-ai-cover-letter textarea::placeholder,
.cv-dashboard-container .open-ai-cover-letter input::placeholder,
.cv-dashboard-container .wpcv-page-title-wrap form input::placeholder {
	font-weight: 500;
	font-size: 16px;
	color: #353535;
}
.cv-dashboard-container .wpcv-page-title-wrap form button.button {
	background-color: #413cf0;
	padding: 15px 20px;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	transition: background 0.3s ease;
	border: 0;
}
.cv-dashboard-container .wpcv-page-title-wrap {
	margin-bottom: 20px;
}
.woocommerce form .form-row-first,
.woocommerce-page form .form-row-first {
	float: none;
	width: -webkit-fill-available;
}
.cv-dashboard-container .wpcv-profile-wrap h3,
.bwdcv-loss-pass-wrap h3 {
	font-weight: 600;
	font-size: 24px;
	margin-bottom: 20px;
	line-height: 1.2;
}
.cv-dashboard-container .cv-user-profile-info {
	display: flex;
	align-items: center;
	gap: 140px;
}
.cv-dashboard-container .cv-user-profile-info p {
	font-size: 16px;
	font-weight: 500;
	color: #6d6d6d;
	margin: 0 !important;
}
.cv-dashboard-container form.cv-user-img-upload {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 37px;
}
.cv-dashboard-container
	.tab-content
	form.cv-user-img-upload
	input[type="file"] {
	position: relative;
	/* padding: 10px; */
	outline: 1px solid #ddd !important;
	outline-offset: 3px;
	border-radius: 8px;
	background: #ffffff;
	cursor: pointer;
	max-width: 434px;
	width: 100%;
	font-size: 16px;
}
.cv-dashboard-container
	form.cv-user-img-upload
	input[type="file"]::-webkit-file-upload-button {
	background: #eee;
	border: none;
	padding: 10px 15px;
	border-radius: 6px;
	cursor: pointer;
	font-weight: bold;
}
.cv-dashboard-container
	form.cv-user-img-upload
	input[type="file"]::-webkit-file-upload-button:hover {
	background: #ddd;
}
.cv-dashboard-container form.cv-user-img-upload button,
.bwdcv-loss-pass-wrap #bwdcv-wc-lost-password-ajax button {
	background-color: #413cf0;
	color: white;
	border: none;
	padding: 15px 20px;
	border-radius: 8px;
	font-size: 16px;
	cursor: pointer;
	font-weight: bold;
	line-height: 1;
}
.cv-dashboard-container form.cv-user-img-upload button:hover,
.bwdcv-loss-pass-wrap #bwdcv-wc-lost-password-ajax button:hover {
	background-color: #2c3acb;
}
.cv-dashboard-container #signatureComboContainer {
    display: flex;
    gap: 18px;
    justify-content: center;
}
.cv-dashboard-container #signatureComboContainer .tab-col-wrap {
	background: #fff;
	border: 1px solid #ebebeb;
	border-radius: 8px;
	padding: 15px;
	width: 283px;
}
.cv-dashboard-container .tab-col-wrap input#signatureInput {
	padding-left: 16px;
	padding-right: 16px;
	width: -webkit-fill-available;
	height: 44px;
	border: 1px solid #ebebeb;
	border-radius: 8px;
}
.cv-dashboard-container .tab-col-wrap select {
	padding-left: 16px;
	padding-right: 16px;
	width: 100%;
	height: 44px;
	border: 1px solid #ebebeb;
	border-radius: 8px;
	margin-top: 6px;
	font-weight: 600;
}
.cv-dashboard-container .tab-col-wrap input#signatureInput::placeholder {
	color: #353535;
	font-weight: 500;
	font-size: 16px;
}
.cv-dashboard-container .tab-col-wrap .cv-generate-sig,
.cv-dashboard-container .tab-col-wrap .cv-draw-sig {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 10px;
	margin-bottom: 10px;
}
.cv-dashboard-container .tab-col-wrap label {
	display: flex;
	align-items: center;
	border: 1px solid #f2f2f2;
	padding: 4px;
	border-radius: 6px;
	gap: 6px;
	cursor: pointer;
}
.cv-dashboard-container .tab-col-wrap label input#textSignatureColor,
.cv-dashboard-container .tab-col-wrap label input#drawSignatureColor {
	width: 18px !important;
	height: 18px !important;
	border: 0 !important;
	outline: 0 !important;
	border-radius: 4px !important;
	box-shadow: none !important;
	padding: 0;
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
}
.cv-dashboard-container .tab-col-wrap label span {
	color: #5e5e5e;
	font-size: 10px;
	font-weight: 500;
}
*:focus {
	border-radius: 0;
	outline: none;
}
::-webkit-color-swatch-wrapper {
	padding: 0;
}
::-webkit-color-swatch {
	border: 0;
	border-radius: 0;
}
::-moz-color-swatch,
::-moz-focus-inner {
	border: 0;
}
::-moz-focus-inner {
	padding: 0;
}
.cv-dashboard-container .tab-col-wrap canvas {
	background-color: #f4f4f4;
	width: 100%;
	height: 80px;
	border-radius: 8px;
	font-family: "Style Script", cursive;
}
.cv-dashboard-container .tab-col-wrap h2 {
	text-align: left;
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 20px;
}
.cv-dashboard-container .wpcv-dashboard-wrap a,
.cv-dashboard-container .cover-bttn-wrap button,
.cv-dashboard-container .tab-col-wrap button#saveTextSignature,
.cv-dashboard-container .tab-col-wrap button#saveDrawSignature {
	background-color: #413cf0;
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 15px 20px;
	margin-top: 10px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	display: inline-block;
}
.cv-dashboard-container .tab-col-wrap .cv-draw-sig button#clearDrawSignature {
	background: transparent;
	color: #353535;
	border: 0;
	padding: 5px 0;
}
.cv-dashboard-container .tab-col-wrap canvas#drawCanvas {
	height: 110px;
}

/* Download Tab Table */
.wpcv-download-wrap table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #ddd;
}

.wpcv-download-wrap th,
.wpcv-download-wrap td {
	padding: 12px 16px;
	text-align: center;
	border: 1px solid #ddd;
	font-size: 11px;
}

.wpcv-download-wrap thead {
	background: #413cf0;
	color: #fff;
	font-weight: bold;
}

.wpcv-download-wrap tbody tr:hover {
	background: #f5f9ff;
}

.wpcv-download-wrap .bwd-download-text,
.wpcv-download-wrap .bwdcv-view {
	font-size: 10px;
	font-weight: 600;
	background: #413cf0;
	color: #fff;
	border: none;
	padding: 8px 14px;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.3s ease;
	border: 1px solid #413cf0;
	text-decoration: none;
}
.cv-dashboard-container .tabs .tab a {
	text-decoration: none;
	color: #413cf0;
}
.cv-dashboard-container .tabs .tab:hover a {
	color: #fff;
}
.cv-dashboard-container .openai-wrap-cover-letter {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: center;
}
.cv-dashboard-container .form-row {
	width: 48%;
	max-width: 48%;
}
.cv-dashboard-container .form-row.fit-col {
	width: 99%;
	max-width: 99%;
}
.cv-dashboard-container .open-ai-cover-letter #cover-letter-result {
	margin-top: 20px;
	padding: 20px;
	background: #f4f4f4;
	border-radius: 8px;
	color: #333;
	font-size: 16px;
	line-height: 1.4;
	min-height: 130px;
	overflow-y: auto;
}
.cv-dashboard-container .open-ai-cover-letter h1 {
	font-size: 30px;
	font-weight: bold;
	margin-bottom: 20px;
}
.cv-dashboard-container .cover-bttn-wrap {
	margin-top: 15px;
}
.cv-dashboard-container .wpcv-dashboard-wrap {
	text-align: center;
	max-width: 575px;
	margin-left: auto;
	margin-right: auto;
}
.cv-dashboard-container .wpcv-dashboard-wrap span {
	display: block;
	color: #353535;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
	margin-top: 30px;
	margin-bottom: 15px;
}
.cv-dashboard-container .wpcv-dashboard-wrap a {
	text-decoration: none;
}

.cv-dashboard-container .wpcv-account-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 30px;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	margin-bottom: 20px;
}

.cv-dashboard-container .account-title h2 {
	font-size: 24px;
	font-weight: 600;
	color: #333;
	margin: 0;
}

.cv-dashboard-container .wpcv-account-user {
	display: flex;
	align-items: center;
	gap: 15px;
}

.cv-dashboard-container .wpcv-greeting {
	font-size: 16px;
	color: #555;
	text-align: right;
}

.cv-dashboard-container .wave-emoji {
	font-size: 18px;
}

.cv-dashboard-container .wpcv-user-name {
	font-weight: 600;
	color: #333;
	display: block;
}

.cv-dashboard-container .wpcv-avatar {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	overflow: hidden;
}

.cv-dashboard-container .wpcv-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cv-dashboard-container
	table.dataTable.dtr-inline.collapsed
	> tbody
	> tr
	> td.dtr-control:before,
.cv-dashboard-container
	table.dataTable.dtr-inline.collapsed
	> tbody
	> tr
	> th.dtr-control:before {
	background-color: #413cf0;
}

.cv-dashboard-container table.dataTable > tbody > tr.child span.dtr-title {
	padding: 10px 16px;
	background: #413cf0;
	color: #fff;
	line-height: 1;
	border-radius: 5px;
}
.cv-dashboard-container span.dtr-data {
	padding: 10px 16px;
	line-height: 1;
	border: 1px solid #ddd;
	border-radius: 4px;
}

/* Text to signature -- Style select options text with current font */

#custom-font-select {
	position: relative;
	margin-top: 6px;
	border: 1px solid #f1eded;
	cursor: pointer;
	border-radius: 6px;
	margin-bottom: 15px;
	font-family: Arial, sans-serif;
}
#custom-font-select .selected-font {
	padding: 10px 15px;
	font-size: 16px;
}
#custom-font-select ul.font-options {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 200px;
	overflow-y: auto;
	border-top: 1px solid #ccc;
	display: none;
	position: absolute;
	width: 100%;
	background: #fff;
	z-index: 9999;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
#custom-font-select.open ul.font-options {
	display: block;
}
#custom-font-select ul.font-options li {
	padding: 10px;
	cursor: pointer;
	font-size: 16px;
}
#custom-font-select ul.font-options li:hover {
	background: #f0f0f0;
}

/* Responsive */
@media only screen and (max-width: 992px) {
	.cv-dashboard-container {
		max-width: 350px;
		width: 100%;
		margin: auto;
	}
	.cv-dashboard-container .wpcv-tab-content-wrap,
    /* .cv-dashboard-container .tab-content form.cv-user-img-upload input[type="file"], */
    .cv-dashboard-container #signatureComboContainer .tab-col-wrap,
    .cv-dashboard-container .form-row {
		max-width: 100%;
		width: 100%;
	}
	.cv-dashboard-container .cv-dashboard-wrapper {
		flex-direction: column;
	}
	.wpcv-account-header.hide-on-mobile {
		display: none;
	}
	.cv-dashboard-container .wpcv-tab-content-wrap .tab-content.active-content {
		width: 100%;
		padding: 15px;
	}
	.cv-dashboard-container .tabs {
		height: auto;
		width: 100%;
		padding: 18px 18px;
	}
	.cv-dashboard-container .wpcv-account-header {
		flex-direction: column;
		padding: 15px;
		text-align: center;
		gap: 10px;
	}

	.cv-dashboard-container .account-title h2 {
		font-size: 20px;
		text-align: center;
	}

	.cv-dashboard-container .wpcv-account-user {
		flex-direction: column;
		gap: 5px;
		width: 100%;
		align-items: center;
	}

	.cv-dashboard-container .wpcv-greeting {
		font-size: 14px;
		text-align: center;
	}

	.cv-dashboard-container .wpcv-user-name {
		display: inline-block;
		font-size: 16px;
	}

	.cv-dashboard-container .wpcv-avatar {
		width: 50px;
		height: 50px;
	}
	.cv-dashboard-container .wpcv-page-title-wrap form,
	.cv-dashboard-container .cv-user-profile-info,
	.cv-dashboard-container form.cv-user-img-upload {
		gap: 0px;
		align-items: start;
		flex-direction: column;
	}
	.cv-dashboard-container form.cv-user-img-upload {
		gap: 10px;
	}
	.cv-dashboard-container #signatureComboContainer {
		flex-direction: column;
	}
	.cv-dashboard-container .wpcv-page-title-wrap form p {
		margin-bottom: 0;
	}
}

/* Medium devices (tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 992px) {
	.cv-dashboard-container {
		max-width: 500px;
	}
}

/* Large devices (desktops, 992px and up) */
@media only screen and (min-width: 993px) and (max-width: 1200px) {
	.wpcv-account-header.hide-on-desktop {
		display: none;
	}
	.cv-dashboard-container .wpcv-tab-content-wrap .tab-content.active-content {
		width: 650px;
		padding: 20px;
	}
	.cv-dashboard-container .wpcv-account-header {
		padding: 20px;
	}
	.cv-dashboard-container .tabs .tab {
		font-size: 14px;
	}
}

@media only screen and (min-width: 1200px) {
	.wpcv-account-header.hide-on-desktop {
		display: none;
	}
}
