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

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Header styles */
.header {
    background-color: #EF5B25;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo svg {
    margin-right: 10px;
}

.logo h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

/* Password generator container */
.password-generator-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
    margin: 30px 0;
    padding: 25px;
}

.password-generator-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 22px;
}

/* Password display area */
.password-display {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

#password {
    width: 100%;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-height: 40px;
    resize: none;
    overflow: hidden;
}

.copy-button {
    position: absolute;
    right: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    padding: 5px;
}

.copy-button:hover {
    color: #EF5B25;
}

/* Password options */
.password-options {
    margin-bottom: 20px;
}

.length-control {
    margin-bottom: 20px;
}

.length-control label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

/* Range slider styling */
.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #e1e1e1;
    border-radius: 4px;
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #EF5B25;
    cursor: pointer;
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #EF5B25;
    cursor: pointer;
    border: none;
}

/* Checkbox styling */
.checkbox-container {
    margin-bottom: 20px;
}

.checkbox-label {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    position: relative;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
}

/* Generate button */
.generate-button {
    background-color: #EF5B25;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    transition: background-color 0.3s;
}

.generate-button:hover {
    background-color: #D64B1A;
    transform: none;
}

/* Security note */
.security-note {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    border-radius: 4px;
    padding: 12px;
    margin-top: 15px;
}

.security-note svg {
    margin-right: 10px;
    color: #EF5B25;
    flex-shrink: 0;
}

.security-note p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

/* Footer */
footer {
    background-color: #EF5B25;
    color: white;
    text-align: center;
    padding: 15px 0;
    width: 100%;
    margin-top: auto;
}

footer p {
    margin: 0;
    font-size: 14px;
}

footer a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s;
}

footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 600px) {
    .password-generator-container {
        width: 95%;
        padding: 15px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
}

/* Animation effects */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
