* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	background-color: #f5f5f5;
	color: #333;
	line-height: 1.6;
}

#app {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
}

header {
	text-align: center;
	margin-bottom: 30px;
}

header h1 {
	color: #2c3e50;
	font-size: 2em;
}

.section {
	background: white;
	border-radius: 8px;
	padding: 30px;
	box-shadow: 0 2px 4px rgba( 0, 0, 0, 0.1 );
}

.hidden {
	display: none;
}

/* Auth Section */
.auth-container {
	max-width: 400px;
	margin: 0 auto;
}

.auth-tabs {
	display: flex;
	margin-bottom: 20px;
	border-bottom: 2px solid #e0e0e0;
}

.tab-button {
	flex: 1;
	padding: 10px;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1em;
	color: #666;
	transition: color 0.3s;
}

.tab-button.active {
	color: #2c3e50;
	border-bottom: 2px solid #2c3e50;
	margin-bottom: -2px;
}

.tab-button:hover {
	color: #2c3e50;
}

.auth-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.auth-form.hidden {
	display: none;
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-group label {
	margin-bottom: 5px;
	font-weight: 500;
	color: #555;
}

.form-group input {
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 1em;
}

.form-group input:focus {
	outline: none;
	border-color: #2c3e50;
}

.checkbox-group {
	flex-direction: row;
	align-items: flex-start;
}

.checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
	width: auto;
	margin-top: 3px;
	flex-shrink: 0;
	cursor: pointer;
}

.checkbox-label span {
	flex: 1;
	line-height: 1.5;
}

/* Buttons */
.btn {
	padding: 10px 20px;
	border: none;
	border-radius: 4px;
	font-size: 1em;
	cursor: pointer;
	transition: background-color 0.3s;
}

.btn-primary {
	background-color: #2c3e50;
	color: white;
}

.btn-primary:hover {
	background-color: #34495e;
}

.btn-secondary {
	background-color: #95a5a6;
	color: white;
}

.btn-secondary:hover {
	background-color: #7f8c8d;
}

.btn-danger {
	background-color: #e74c3c;
	color: white;
}

.btn-danger:hover {
	background-color: #c0392b;
}

/* App Section */
.user-info {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e0e0e0;
}

#username-display {
	font-size: 1.2em;
	font-weight: 500;
	color: #2c3e50;
}

.repos-section h2 {
	margin-bottom: 20px;
	color: #2c3e50;
}

.repo-controls {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
}

.repo-controls input {
	flex: 1;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 1em;
}

.repo-controls input:focus {
	outline: none;
	border-color: #2c3e50;
}

.repo-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.repo-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px;
	background-color: #f9f9f9;
	border-radius: 4px;
	border: 1px solid #e0e0e0;
}

.repo-info {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.repo-name {
	font-weight: 500;
	color: #2c3e50;
}

.git-clone-string {
	font-size: 0.9em;
	color: #888;
	font-family: monospace;
}

.repo-actions {
	display: flex;
	gap: 10px;
	align-items: center;
}

.btn-small {
	padding: 6px 12px;
	font-size: 0.9em;
}

/* Messages */
.message-container {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.message {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 20px;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba( 0, 0, 0, 0.2 );
	min-width: 300px;
	max-width: 500px;
}

.message.success {
	background-color: #2ecc71;
	color: white;
}

.message.error {
	background-color: #e74c3c;
	color: white;
}

.message-text {
	flex: 1;
}

.message-close {
	background: none;
	border: none;
	color: inherit;
	font-size: 1.5em;
	cursor: pointer;
	margin-left: 15px;
	opacity: 0.8;
}

.message-close:hover {
	opacity: 1;
}
