.project-header {
	padding: 0;
	padding-top: 2.1rem;
	display: flex;
	align-items: center;
	position: relative;
	overflow: visible;
	background-color: #373b43;
}

.project-name {
	margin-left: 2.1rem;
}

.text-icon {
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	border: 0.1em solid var(--font-color);
	height: 1.3em;
	width: 1.3em;
}

.project-title-icon {
	font-size: 2em;
	z-index: 10000;
	position: absolute;
	margin-left: -0.8em;
}

.project-name-field {
	font-size: inherit;
}

.project-name-field input[type="text"] {
	font-size: 16px;
	font-weight: bold;
	transition: border-color 0.25s;
	padding: 0.25rem 0 0;
	border-color: transparent;
	min-width: 15em;
	max-width: 20em;
	height: 1.5em;
	letter-spacing: 0.4px;
}

.project-name-field input[type="text"]:hover,
.project-name-field input[type="text"]:focus {
	cursor: text;
	border-color: #42a5ba;
}

.project-name-field input[type="text"]::placeholder {
	color: #fff;
}

.project-name-field input[type="text"]:focus::placeholder {
	color: rgb(255 255 255 / 75%);
}

.project-name-actions {
	opacity: 0;
	padding: 0.75em;
	z-index: 100;
}

.is-editing-project-name .project-name-actions {
	opacity: 1;
}

.is-editing-project-name .project-name-container::before {
	opacity: 1;
}

/* stylelint-disable-next-line no-descending-specificity */
.is-editing-project-name input[type="text"] {
	cursor: text;
	border-color: #42a5ba;
}

.project-name-actions button:disabled {
	opacity: 0.25;
}

.is-editing-project-name.is-invalid-project-name input[type="text"] {
	border-color: #da5c5c;
}

.is-invalid-project-name input {
	color: #da5c5c;
}

.project-name-error-icon {
	font-size: 12px;
	display: inline-block;
	position: absolute;
	left: 5px;
	top: 32px;
}

.current-project-path {
	margin-left: 10px;
	font-size: 0.9em;
	white-space: nowrap;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: pointer;
}

/* stylelint-disable-next-line no-descending-specificity */
.change-project-path-button button {
	color: #acb2c0;
	padding: 0;
	font-size: 17px;
	margin-left: 2px;
}

.project-path-container {
	display: flex;
	flex-wrap: nowrap;
}
