/* generator_hasel.css */
.generator-container {
    max-width: 600px;
    margin: 0 auto;
    color: #1f2937;
    padding: 1rem;
}

.password-display-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.password-display {
    width: 100%;
    padding: 1.5rem;
    padding-right: 4rem;
    font-size: 1.5rem;
    background: #f3f4f6;
    border: 2px solid #10b981;
    border-radius: 12px;
    color: #10b981;
    font-family: monospace;
    text-align: center;
    word-break: break-all;
}

.copy-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    transition: color 0.2s;
}

.copy-btn:hover {
    color: #1f2937;
}

.controls-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.range-container {
    margin-bottom: 2rem;
}

.range-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-weight: 500;
}

input[type="range"] {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 5px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #10b981;
    cursor: pointer;
    transition: transform 0.1s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    padding: 0.8rem;
    background: #f3f4f6;
    border-radius: 8px;
    transition: background 0.2s;
}

.checkbox-item:hover {
    background: #e5e7eb;
}

.checkbox-item input {
    accent-color: #10b981;
    width: 18px;
    height: 18px;
}

.btn-generate {
    width: 100%;
    padding: 1rem;
    background: #10b981;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.btn-generate:hover {
    background: #059669;
}

.btn-generate:active {
    transform: scale(0.98);
}

.strength-info {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #6b7280;
}