
/* Allgemeine Einstellungen */

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

body {
    font-family: Arial, sans-serif;
    background: #0f172a;
    color: white;
    min-height: 100vh;
}

/* Header */

header {
    text-align: center;
    padding: 50px 20px 30px;
}

header h1 {
    font-size: 38px;
    margin-bottom: 12px;
}

header h1 span {
    color: #3b82f6;
}

header p {
    color: #94a3b8;
    font-size: 16px;
}

/* Hauptbereich */

.container {
    width: 90%;
    max-width: 550px;
    margin: 30px auto;
}

/* Generator */

.generator {
    background: #1e293b;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.generator h2 {
    margin-bottom: 20px;
    font-size: 23px;
}

/* Passwortfeld */

.password-box {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.password-box input {
    flex: 1;
    min-width: 0;
    padding: 14px;
    border: 1px solid #475569;
    border-radius: 8px;
    background: #0f172a;
    color: white;
    font-size: 14px;
    outline: none;
}

.password-box input::placeholder {
    color: #64748b;
}

.copy-btn {
    background: #334155;
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
}

/* Einstellungen */

.settings h3 {
    margin-bottom: 20px;
    font-size: 19px;
}

.length-setting {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.length-setting input {
    width: 70px;
    padding: 8px;
    border-radius: 6px;
    border: none;
    background: #0f172a;
    color: white;
    text-align: center;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.options label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    cursor: pointer;
}

.options input {
    accent-color: #3b82f6;
    width: 17px;
    height: 17px;
}

/* Generieren-Button */

.generate-btn {
    width: 100%;
    padding: 15px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.generate-btn:hover {
    background: #1d4ed8;
}

/* Infobereich */

.info {
    margin-top: 25px;
    padding: 20px;
    background: #1e293b;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.info h3 {
    margin-bottom: 10px;
}

.info p {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 14px;
}

/* Footer */

footer {
    text-align: center;
    padding: 30px 15px;
    color: #64748b;
    font-size: 13px;
}

/* Responsive Design */

@media (max-width: 500px) {

    header h1 {
        font-size: 30px;
    }

    .generator {
        padding: 20px;
    }

    .password-box {
        flex-direction: column;
    }

    .copy-btn {
        padding: 12px;
    }
}
