#tool-wrapper {
    max-width: 600px;
    margin: 80px auto 40px;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.dark-mode #tool-wrapper {
    background: #2c3e50;
}

#tool-wrapper h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}

.dark-mode #tool-wrapper h1 {
    color: #ecf0f1;
}

#password-display {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

#password-output {
    flex: 1;
    padding: 15px;
    font-size: 18px;
    font-family: monospace;
    border: 2px solid #3498db;
    border-radius: 8px;
    background: #f8f9fa;
    color: #2c3e50;
    letter-spacing: 2px;
}

.dark-mode #password-output {
    background: #1a252f;
    color: #ecf0f1;
}

#copy-btn {
    padding: 15px;
    font-size: 18px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

#copy-btn:hover {
    background: #2980b9;
}

#copy-btn.copied {
    background: #2ecc71;
}

.options {
    margin-bottom: 25px;
}

.option {
    margin-bottom: 20px;
}

.option > label {
    display: block;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.dark-mode .option > label {
    color: #ecf0f1;
}

.option span {
    color: #3498db;
    font-weight: bold;
}

input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #d5dbdb;
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    font-weight: normal !important;
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.actions button {
    flex: 1;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

#generate-btn {
    background: #2ecc71;
    color: white;
}

#generate-btn:hover {
    background: #27ae60;
    transform: scale(1.02);
}

#regenerate-btn {
    background: #3498db;
    color: white;
}

#regenerate-btn:hover {
    background: #2980b9;
    transform: scale(1.02);
}

#strength-display {
    text-align: center;
}

.strength-bar {
    height: 10px;
    background: #d5dbdb;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

#strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s;
    border-radius: 5px;
}

#strength-fill.weak {
    width: 25%;
    background: #e74c3c;
}

#strength-fill.medium {
    width: 50%;
    background: #f39c12;
}

#strength-fill.strong {
    width: 75%;
    background: #2ecc71;
}

#strength-fill.very-strong {
    width: 100%;
    background: #27ae60;
}

#strength-text {
    font-weight: bold;
    color: #7f8c8d;
}

@media (max-width: 480px) {
    #tool-wrapper {
        margin: 70px 15px 30px;
        padding: 20px;
    }
    
    .actions {
        flex-direction: column;
    }
    
    #password-output {
        font-size: 14px;
    }
}
