* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background: #1a1a1a;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
}
.container {
	background: #2a2a2a;
	padding: 40px;
	border-radius: 4px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.5);
	max-width: 500px;
	width: 100%;
}
h1 {
	color: #ffffff;
	margin-bottom: 30px;
	text-align: center;
	font-size: 28px;
}
.password-display {
	background: #1a1a1a;
	padding: 20px;
	border-radius: 4px;
	font-family: 'Courier New', monospace;
	font-size: 18px;
	word-break: break-all;
	margin-bottom: 20px;
	min-height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #00ff88;
	border: 1px solid #3a3a3a;
	cursor: pointer;
	transition: background 0.2s;
}
.password-display:hover {
	background: #252525;
}
.strength-indicator {
	margin-bottom: 20px;
}
.strength-label {
	display: flex;
	justify-content: space-between;
	margin-bottom: 8px;
	font-size: 14px;
	color: #cccccc;
}
.strength-bar {
	height: 8px;
	background: #1a1a1a;
	border-radius: 4px;
	overflow: hidden;
}
.strength-fill {
	height: 100%;
	width: 0%;
	transition: width 0.3s, background 0.3s;
	border-radius: 4px;
}
.strength-weak { background: #ff4444; }
.strength-medium { background: #ffaa00; }
.strength-strong { background: #00ff88; }
.strength-text-weak { color: #ff4444; }
.strength-text-medium { color: #ffaa00; }
.strength-text-strong { color: #00ff88; }
.length-control {
	margin-bottom: 25px;
}
.length-label {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
	font-weight: 600;
	color: #cccccc;
}
.length-value {
	color: #00ff88;
	font-size: 20px;
}

.length-input {
    width: 60px;
    background: #1a1a1a;
    color: #00ff88;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.length-input:focus {
    outline: none;
    border-color: #00ff88;
}

/* Pfeile bei number input ausblenden */
.length-input::-webkit-inner-spin-button,
.length-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.length-input[type=number] {
    -moz-appearance: textfield;
}

input[type="range"] {
	width: 100%;
	height: 8px;
	border-radius: 4px;
	background: #1a1a1a;
	outline: none;
	-webkit-appearance: none;
}
input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 4px;
	background: #00ff88;
	cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border-radius: 4px;
	background: #00ff88;
	cursor: pointer;
	border: none;
}
.options {
	margin-bottom: 25px;
}
.option {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
	padding: 10px;
	border-radius: 4px;
	transition: background 0.2s;
	cursor: pointer;
}
.option:hover {
	background: #3a3a3a;
}
input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin-right: 12px;
	cursor: pointer;
	accent-color: #00ff88;
}
label {
	cursor: pointer;
	font-size: 16px;
	color: #cccccc;
	user-select: none;
}
.buttons {
	display: flex;
	gap: 10px;
}
button {
	flex: 1;
	padding: 15px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.generate-btn {
	background: #00ff88;
	color: #1a1a1a;
}
.generate-btn:hover {
	background: #00dd77;
	transform: translateY(-2px);
}
.generate-btn:active {
	transform: scale(0.95);
}
.copy-btn {
	background: #3a3a3a;
	color: #cccccc;
	border: 1px solid #4a4a4a;
}
.copy-btn:hover {
	background: #4a4a4a;
	transform: translateY(-2px);
}
.copy-btn:active {
	transform: scale(0.95);
}
.copy-notification {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: #00ff88;
	color: #1a1a1a;
	padding: 15px 25px;
	border-radius: 4px;
	font-weight: 600;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.3s;
	pointer-events: none;
}
.copy-notification.show {
	opacity: 1;
	transform: translateY(0);
}