/* Common styles for autotest applications */

/* Google Material Icons Font */
@font-face {
	font-family: 'Material Icons';
	font-style: normal;
	font-weight: 400;
	src: url(https://fonts.gstatic.com/s/materialicons/v140/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}

.material-icons {
	font-family: 'Material Icons';
	font-weight: normal;
	font-style: normal;
	font-size: 18px;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	display: inline-block;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	vertical-align: text-bottom;
	margin-right: 5px;
	position: relative;
}

/* Base styles */
body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	margin: 0;
	padding: 20px;
	background-color: #f5f5f5;
	color: #333;
	max-width: 1600px;
}

.container {
	margin: 0 auto;
	background-color: white;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Header styles */
.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	border-bottom: 2px solid #eee;
	padding-bottom: 10px;
}

.header-left {
	display: flex;
	align-items: center;
}

/* Tab navigation */
.tab-navigation {
	display: flex;
	gap: 0;
	background-color: #f8f9fa;
	border-radius: 8px;
	padding: 4px;
}

.tab-link {
	padding: 12px 24px;
	text-decoration: none;
	color: #6c757d;
	font-weight: 500;
	border-radius: 6px;
	transition: all 0.2s ease;
	position: relative;
}

.tab-link:hover {
	color: #495057;
	background-color: rgba(108, 117, 125, 0.1);
}

.tab-link.active {
	background-color: #2c3e50;
	color: white;
	box-shadow: 0 2px 4px rgba(44, 62, 80, 0.2);
}

h1 {
	color: #2c3e50;
	margin: 0;
	padding: 0;
}

/* Authentication section */
.auth-section {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.user-info {
	margin-right: 15px;
	font-size: 14px;
}

/* Button styles */
button {
	background-color: #3498db;
	color: white;
	border: none;
	padding: 10px 15px;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 500;
	font-family: inherit;
}

button:hover {
	background-color: #2980b9;
}

.auth-button {
	background-color: #2ecc71;
}

.auth-button:hover {
	background-color: #27ae60;
}

.logout-button {
	background-color: #e74c3c;
}

.logout-button:hover {
	background-color: #c0392b;
}

.refresh-button {
	background-color: #3498db;
}

.refresh-button:hover {
	background-color: #2980b9;
}

/* Utility classes */
.hidden {
	display: none;
}

/* Form styles */
.form-group {
	margin-bottom: 15px;
}

label {
	display: block;
	margin-bottom: 5px;
	font-weight: 500;
}

input, select {
	width: 100%;
	padding: 8px;
	border: 1px solid #ddd;
	border-radius: 4px;
	box-sizing: border-box;
	font-family: inherit;
}

/* Table styles */
table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
}

th, td {
	padding: 12px 15px;
	text-align: left;
	border-bottom: 1px solid #ddd;
}

th {
	background-color: #f8f9fa;
	font-weight: 600;
}

tr:hover {
	background-color: #f5f5f5;
}

/* Status styles */
.status-success {
	color: #27ae60;
	font-weight: 500;
}

.status-failure {
	color: #e74c3c;
	font-weight: 500;
}

.success {
	color: #27ae60;
}

.failed {
	color: #e74c3c;
}

/* Loading and error states */
.loading {
	text-align: center;
	padding: 20px;
	display: none;
}

.error-message {
	color: #e74c3c;
	padding: 10px;
	background-color: #fadbd8;
	border-radius: 4px;
	margin-top: 20px;
	display: none;
}

/* Asset links */
.asset-link {
	margin-right: 10px;
	color: #3498db;
	text-decoration: none;
	max-width: 200px;
	display: inline-block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.asset-link:hover {
	text-decoration: underline;
}

.asset-testcase {
	color: #2ecc71;
}

/* Share link */
.share-link {
	margin-top: 15px;
	font-size: 14px;
}

.share-link a {
	color: #3498db;
	text-decoration: none;
}

.share-link a:hover {
	text-decoration: underline;
}

/* Last updated info */
.last-updated {
	font-size: 14px;
	color: #7f8c8d;
}