* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    height: 100%;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #1e1e1e;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

.container {
    background: #252526;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    padding: 32px;
    max-width: 600px;
    width: 100%;
    animation: fadeInUp 0.5s ease-out;
    border: 1px solid #3e3e42;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container h1 {
    color: #cccccc;
    margin-bottom: 28px;
    text-align: center;
    font-size: 24px;
    font-weight: 400;
}

p.eachpassword {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    background-color: #1e1e1e;
    color: #d4d4d4;
    padding: 10px 14px;
    margin: 8px 0;
    border: 1px solid #3e3e42;
    border-radius: 2px;
    font-size: 14px;
    word-break: break-all;
    user-select: all;
    transition: all 0.2s ease;
    cursor: pointer;
}

p.eachpassword:hover {
    background-color: #252526;
    border-color: #464647;
}

p.eachpassword:active {
    background-color: #2a2a2a;
}

p.eachpassword.copied {
    background-color: #0e639c;
    border-color: #007acc;
    color: #ffffff;
}

.passwords-form {
    width: 100%;
}

.passwords-form br {
    display: block;
    margin-bottom: 16px;
}

.passwords-form label {
    display: inline-block;
    color: #cccccc;
    font-weight: 400;
    font-size: 13px;
    min-width: 160px;
    text-align: right;
    margin-right: 12px;
    vertical-align: middle;
}

.passwords-form input[type="text"] {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid #3e3e42;
    border-radius: 2px;
    font-size: 13px;
    transition: all 0.2s ease;
    background-color: #3c3c3c;
    color: #cccccc;
    width: 200px;
    vertical-align: middle;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

.passwords-form input[type="text"]:hover {
    background-color: #404040;
    border-color: #464647;
}

.passwords-form input[type="text"]:focus {
    outline: none;
    border-color: #007acc;
    background-color: #3c3c3c;
    box-shadow: 0 0 0 1px #007acc;
}

.passwords-form input[type="text"]::placeholder {
    color: #858585;
}

.passwords-form input[type="checkbox"],
.passwords-form input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 18px;
    height: 18px;
    margin: 0;
}

.passwords-form input[type="checkbox"] + label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    min-width: auto;
    text-align: left;
    margin-right: 0;
    margin-left: 0;
    display: inline-block;
    vertical-align: middle;
}

.passwords-form input[type="checkbox"] + label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 1px solid #3e3e42;
    border-radius: 3px;
    background-color: #3c3c3c;
    transition: all 0.2s ease;
}

.passwords-form input[type="checkbox"]:hover + label::before {
    background-color: #404040;
    border-color: #464647;
}

.passwords-form input[type="checkbox"]:checked + label::before {
    background-color: #007acc;
    border-color: #007acc;
}

.passwords-form input[type="checkbox"]:checked + label::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.passwords-form input[type="checkbox"]:focus + label::before {
    box-shadow: 0 0 0 2px rgba(0, 122, 204, 0.4);
}

.passwords-form input[type="radio"] + label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    min-width: auto;
    text-align: left;
    margin-right: 0;
    margin-left: 0;
    display: inline-block;
    vertical-align: middle;
}

.passwords-form input[type="radio"] + label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 1px solid #3e3e42;
    border-radius: 50%;
    background-color: #3c3c3c;
    transition: all 0.2s ease;
}

.passwords-form input[type="radio"]:hover + label::before {
    background-color: #404040;
    border-color: #464647;
}

.passwords-form input[type="radio"]:checked + label::before {
    background-color: #007acc;
    border-color: #007acc;
}

.passwords-form input[type="radio"]:checked + label::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ffffff;
}

.passwords-form input[type="radio"]:focus + label::before {
    box-shadow: 0 0 0 2px rgba(0, 122, 204, 0.4);
}

.passwords-form input[type="submit"] {
    width: 100%;
    padding: 8px 16px;
    background-color: #0e639c;
    color: #ffffff;
    border: none;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

.passwords-form input[type="submit"]:hover {
    background-color: #1177bb;
}

.passwords-form input[type="submit"]:active {
    background-color: #0a4d73;
}

.passwords-form input[type="submit"]:focus {
    outline: 1px solid #007acc;
    outline-offset: 2px;
}

a.linkbutton {
    display: block;
    width: 100%;
    padding: 8px 16px;
    background-color: #0e639c;
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    text-align: center;
    box-sizing: border-box;
}

a.linkbutton:hover {
    background-color: #1177bb;
    text-decoration: none;
    color: #ffffff;
}

a.linkbutton:active {
    background-color: #0a4d73;
}

a.linkbutton:focus {
    outline: 1px solid #007acc;
    outline-offset: 2px;
    text-decoration: none;
    color: #ffffff;
}

.copy-notification {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #28a745;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-size: 14px;
    font-weight: 400;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out;
    pointer-events: none;
    border: 1px solid #34ce57;
}

.copy-notification.show {
    top: 20px;
    opacity: 1;
    visibility: visible;
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 24px 20px;
    }
    
    .container h1 {
        font-size: 20px;
    }
    
    .passwords-form label {
        min-width: 120px;
        font-size: 12px;
        display: block;
        text-align: left;
        margin-bottom: 6px;
        margin-right: 0;
    }
    
    .passwords-form input[type="text"] {
        width: 100%;
        display: block;
    }
    
    .copy-notification {
        left: 20px;
        right: 20px;
        transform: none;
        font-size: 13px;
        padding: 10px 20px;
    }
    
    .copy-notification.show {
        top: 10px;
    }
}
