/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

/**
 * Table
 */

.issue-reporter-body table {
	width: 100%;
	max-width: 100%;
	background-color: transparent;
	border-collapse: collapse;
}

.issue-reporter-body th {
	vertical-align: bottom;
	border-bottom: 1px solid;
	padding: 5px;
	text-align: inherit;
}

.issue-reporter-body td {
	padding: 5px;
	vertical-align: top;
}

.issue-reporter-body tr td:first-child {
	width: 30%;
}

.issue-reporter-body label {
	user-select: none;
}

.issue-reporter-body .block-settingsSearchResults-details {
	padding-bottom: .5rem;
}

.issue-reporter-body .block-settingsSearchResults-details > div {
	padding: .5rem .75rem;
}

.issue-reporter-body .section {
	margin-bottom: .5em;
}

/**
 * Forms
 */
.issue-reporter-body input[type="text"],
.issue-reporter-body textarea {
	display: block;
	width: 100%;
	padding: .375rem .75rem;
	font-size: 1rem;
	line-height: 1.5;
	color: #495057;
	background-color: #fff;
	border: 1px solid #ced4da;
}

.issue-reporter-body textarea {
	overflow: auto;
	resize: vertical;
}

/**
 * Button
 */

.issue-reporter-body .monaco-text-button {
	display: block;
	width: auto;
	padding: 4px 10px;
	align-self: flex-end;
	margin-bottom: 1em;
	font-size: 13px;
}

.issue-reporter-body select {
	height: calc(2.25rem + 2px);
	display: inline-block;
	padding: 3px 3px;
	font-size: 14px;
	line-height: 1.5;
	color: #495057;
	background-color: #fff;
	border: none;
}

.issue-reporter-body * {
	box-sizing: border-box;
}

.issue-reporter-body textarea,
.issue-reporter-body input,
.issue-reporter-body select {
	font-family: inherit;
}

.issue-reporter-body html {
	color: #CCCCCC;
	height: 100%;
}

.issue-reporter-body .extension-caption .codicon-modifier-spin {
	padding-bottom: 3px;
	margin-left: 2px;
}

/* Font Families (with CJK support) */

.issue-reporter-body .mac {
	font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.issue-reporter-body .mac:lang(zh-Hans) {
	font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif;
}

.issue-reporter-body .mac:lang(zh-Hant) {
	font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", sans-serif;
}

.issue-reporter-body .mac:lang(ja) {
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic Pro", sans-serif;
}

.issue-reporter-body .mac:lang(ko) {
	font-family: -apple-system, BlinkMacSystemFont, "Nanum Gothic", "Apple SD Gothic Neo", "AppleGothic", sans-serif;
}

.issue-reporter-body .windows {
	font-family: "Segoe WPC", "Segoe UI", sans-serif;
}

.issue-reporter-body .windows:lang(zh-Hans) {
	font-family: "Segoe WPC", "Segoe UI", "Microsoft YaHei", sans-serif;
}

.issue-reporter-body .windows:lang(zh-Hant) {
	font-family: "Segoe WPC", "Segoe UI", "Microsoft Jhenghei", sans-serif;
}

.issue-reporter-body .windows:lang(ja) {
	font-family: "Segoe WPC", "Segoe UI", "Yu Gothic UI", "Meiryo UI", sans-serif;
}

.issue-reporter-body .windows:lang(ko) {
	font-family: "Segoe WPC", "Segoe UI", "Malgun Gothic", "Dotom", sans-serif;
}

/* Linux: add `system-ui` as first font and not `Ubuntu` to allow other distribution pick their standard OS font */
.issue-reporter-body .linux {
	font-family: system-ui, "Ubuntu", "Droid Sans", sans-serif;
}

.issue-reporter-body .linux:lang(zh-Hans) {
	font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans SC", "Source Han Sans CN", "Source Han Sans", sans-serif;
}

.issue-reporter-body .linux:lang(zh-Hant) {
	font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans TC", "Source Han Sans TW", "Source Han Sans", sans-serif;
}

.issue-reporter-body .linux:lang(ja) {
	font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans J", "Source Han Sans JP", "Source Han Sans", sans-serif;
}

.issue-reporter-body .linux:lang(ko) {
	font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans K", "Source Han Sans JR", "Source Han Sans", "UnDotum", "FBaekmuk Gulim", sans-serif;
}

body.issue-reporter-body {
	margin: 0 !important;
	overflow-y: scroll !important;
	height: 100% !important;
}

.issue-reporter-body .hidden {
	display: none;
}

.issue-reporter-body .block {
	font-size: 12px;
}

.issue-reporter-body .block .block-info {
	width: 100%;
	font-size: 12px;
	overflow: auto;
	overflow-wrap: break-word;
	margin: 5px;
	padding: 10px;
}

.issue-reporter-body #issue-reporter {
	max-width: 85vw;
	margin-left: auto;
	margin-right: auto;
	padding-top: 2em;
	padding-bottom: 2em;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	overflow: visible;
}

.issue-reporter-body .description-section {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
}

.issue-reporter-body textarea {
	flex-grow: 1;
	min-height: 150px;
}

.issue-reporter-body .block-info-text {
	display: flex;
	flex-grow: 1;
}

.issue-reporter-body #github-submit-btn {
	flex-shrink: 0;
	margin-left: auto;
	margin-top: 10px;
	margin-bottom: 10px;
}

.issue-reporter-body .two-col {
	display: inline-block;
	width: 49%;
}

.issue-reporter-body #vscode-version {
	width: 90%;
}

.issue-reporter-body .input-group {
	margin-bottom: 1em;
}

.issue-reporter-body #extension-selection {
	margin-top: 1em;
}

.issue-reporter-body .issue-reporter select,
.issue-reporter-body .issue-reporter input,
.issue-reporter-body .issue-reporter textarea {
	border: 1px solid transparent;
	margin-top: 10px;
}


.issue-reporter-body #issue-reporter .validation-error {
	font-size: 12px;
	padding: 10px;
	border-top: 0px !important;
}

.issue-reporter-body #issue-reporter .system-info {
	margin-bottom: 10px;
}


.issue-reporter-body input[type="checkbox"] {
	width: auto;
	display: inline-block;
	margin-top: 0;
	vertical-align: middle;
	cursor: pointer;
}

.issue-reporter-body input:disabled {
	opacity: 0.6;
}

.issue-reporter-body .list-title {
	margin-top: 1em;
	margin-left: 1em;
}

.issue-reporter-body .instructions {
	font-size: 12px;
	margin-top: .5em;
}

.issue-reporter-body a,
.issue-reporter-body .workbenchCommand {
	cursor: pointer;
	border: 1px solid transparent;
}

.issue-reporter-body .workbenchCommand:disabled {
	color: #868e96;
	cursor: default
}

.issue-reporter-body .block-extensions .block-info {
	margin-bottom: 1.5em;
}

/* Default styles, overwritten if a theme is provided */
.issue-reporter-body input,
.issue-reporter-body select,
.issue-reporter-body textarea {
	background-color: #3c3c3c;
	border: none;
	color: #cccccc;
}

.issue-reporter-body a {
	color: #CCCCCC;
	text-decoration: none;
}

.issue-reporter-body .showInfo,
.issue-reporter-body .input-group a {
	color: var(--vscode-textLink-foreground);
}

.issue-reporter-body .section .input-group .validation-error {
	margin-left: 100px;
}

.issue-reporter-body .section .inline-form-control,
.issue-reporter-body .section .inline-label {
	display: inline-block;
	font-size: initial;
}

.issue-reporter-body .section .inline-label {
	width: 95px;
}

.issue-reporter-body .issue-reporter .inline-label,
.issue-reporter-body .issue-reporter #issue-description-label {
	font-size: initial;
	cursor: default;
}

.issue-reporter-body .monaco-workbench .issue-reporter label {
	cursor: default;
}

.issue-reporter-body .section .inline-form-control,
.issue-reporter-body .section .input-group .validation-error {
	width: calc(100% - 100px);
}

.issue-reporter-body #issue-type,
.issue-reporter-body #issue-source,
.issue-reporter-body #extension-selector {
	cursor: pointer;
	appearance: auto;
	border: none;
	border-right: 6px solid transparent;
	padding-left: 10px;
}

.issue-reporter-body #similar-issues {
	margin-left: 15%;
	display: block;
}

.issue-reporter-body #problem-source-help-text {
	margin-left: calc(15% + 1em);
}

@media (max-width: 950px) {
	.issue-reporter-body .section .inline-label {
		width: 15%;
	}

	.issue-reporter-body #problem-source-help-text {
		margin-left: calc(15% + 1em);
	}

	.issue-reporter-body .section .inline-form-control,
	.issue-reporter-body .section .input-group .validation-error {
		width: calc(85% - 5px);
	}

	.issue-reporter-body .section .input-group .validation-error {
		margin-left: calc(15% + 4px);
	}
}

@media (max-width: 620px) {
	.issue-reporter-body .section .inline-label {
		display: none !important;
	}

	.issue-reporter-body #problem-source-help-text {
		margin-left: 1em;
	}

	.issue-reporter-body .section .inline-form-control,
	.issue-reporter-body .section .input-group .validation-error {
		width: 100%;
	}

	.issue-reporter-body #similar-issues,
	.issue-reporter-body .section .input-group .validation-error {
		margin-left: 0;
	}
}

.issue-reporter-body::-webkit-scrollbar {
	width: 14px;
}

.issue-reporter-body::-webkit-scrollbar-thumb {
	min-height: 20px;
}

.issue-reporter-body::-webkit-scrollbar-corner {
	display: none;
}

.issue-reporter-body .issues-container {
	margin-left: 1.5em;
	margin-top: .5em;
	max-height: 92px;
	overflow-y: auto;
}

.issue-reporter-body .issues-container > .issue {
	padding: 4px 0;
	display: flex;
}

.issue-reporter-body .issues-container > .issue > .issue-link {
	width: calc(100% - 82px);
	overflow: hidden;
	padding-top: 3px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.issue-reporter-body .issues-container > .issue > .issue-state .codicon {
	width: 16px;
}

.issue-reporter-body .issues-container > .issue > .issue-state {
	display: flex;
	width: 77px;
	padding: 3px 6px;
	margin-right: 5px;
	color: #CCCCCC;
	background-color: #3c3c3c;
	border-radius: .25rem;
}

.issue-reporter-body .issues-container > .issue .label {
	padding-top: 2px;
	margin-left: 5px;
	width: 44px;
	text-overflow: ellipsis;
	overflow: hidden;
}

.issue-reporter-body .issues-container > .issue .issue-icon {
	padding-top: 2px;
}
