/* GLOBAL STYLES */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: darkcyan;
    color: yellow;
    font-family: monospace;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100vh;
    padding: 10px;
    position: relative;
    overflow: hidden;
}

/* Terminal Layout */
.terminal {
    background-color: #004f4f;
    border: 1px solid yellow;
    width: 100%;
    max-width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid yellow;
}

.terminal-header .buttons {
    display: flex;
    gap: 5px;
}

.terminal-header .buttons span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: yellow;
}

.terminal-header .title {
    font-size: 14px;
}

.terminal-body {
    padding: 10px;
    border-top: 1px solid yellow;
    background-color: #004f4f;
    color: yellow;
    font-family: monospace;
    min-height: 200px;
    overflow: hidden;
    position: relative;
}

/* Generator Interface */
#generator-container {
    position: relative;
    z-index: 1;
}

.password-controls,
.password-output {
    margin-bottom: 10px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="number"],
input[type="text"] {
    width: 100%;
    padding: 5px;
    margin-bottom: 5px;
    background-color: #003636;
    border: 1px solid yellow;
    color: yellow;
    font-family: monospace;
}

/* Checkbox Styling */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.checkbox-group div {
    display: flex;
    align-items: center;
}

.ascii-checkbox {
    font-size: 16px;
    cursor: pointer;
    user-select: none;
    margin-right: 5px;
    color: yellow;
}

/* Buttons */
.btn-gen,
.preset-btn {
    background-color: yellow;
    color: darkcyan;
    border: none;
    padding: 0.6rem 1.2rem;
    font-weight: bold;
    cursor: pointer;
    font-family: monospace;
    margin: 5px;
    border-radius: 4px;
}

.btn-gen:hover,
.preset-btn:hover {
    background-color: #ffe100;
    color: darkcyan;
}

/* Footer */
.footer-container {
    text-align: center;
    padding: 5px;
    background-color: #004f4f;
    color: yellow;
    border-top: 1px solid yellow;
    width: 100%;
    max-width: 100%;
    border-radius: 6px;
}

/* Cursor Blink */
.cursor {
    display: inline-block;
    width: 8px;
    height: 12px;
    background-color: yellow;
    margin-left: 2px;
    animation: blink 0.5s steps(2) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Copy Message & Strength Indicator */
#copy-message {
    position: absolute;
    background: #004f4f;
    color: red;
    font-family: monospace;
    padding: 5px 10px;
    border: 1px solid yellow;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#copy-message.show {
    opacity: 1;
}

#strength-indicator {
    color: yellow;
    font-family: monospace;
    margin-top: 5px;
}

/* Info Section */
#info-section {
    display: none;
    margin-top: 20px;
    padding: 10px;
    background: #004f4f;
    color: yellow;
    border: 1px solid yellow;
    max-width: 400px;
    margin-left: 20px;
    border-radius: 6px;
}

.terminal-frame ul {
    list-style-type: none;
    padding-left: 0;
}

.terminal-frame ul li::before {
    content: "• ";
    color: yellow;
}
