/* Password Generator Pro - Demo CSS */

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

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #1e1e1e;
    color: #f5f5f5;
    padding: 20px;
    min-height: 100vh;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    background-color: #2d2d2d;
    border-radius: 8px;
    overflow: hidden;
}

.header {
    background-color: #2d2d2d;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #3c3c3c;
}

.header h1 {
    color: #007acc;
    font-size: 24px;
    margin-bottom: 5px;
}

.demo-banner {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    padding: 10px;
    text-align: center;
    font-weight: bold;
    color: white;
    margin-bottom: 0;
}

.password-section {
    padding: 20px;
    background-color: #2d2d2d;
}

.password-label {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 5px;
    font-weight: bold;
}

.password-display {
    width: 100%;
    padding: 15px;
    font-family: 'Consolas', monospace;
    font-size: 16px;
    font-weight: bold;
    background-color: #1a1a1a;
    border: 1px solid #3c3c3c;
    border-radius: 4px;
    color: #5cb85c;
    text-align: center;
    cursor: pointer;
    margin-bottom: 10px;
}

.password-display:hover {
    background-color: #242424;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background-color: #3c3c3c;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 20px;
}

.strength-fill {
    height: 100%;
    background: linear-gradient(90deg, #d9534f, #f0ad4e, #5bc0de, #5cb85c);
    transition: width 0.3s ease;
}

.settings-section {
    padding: 20px;
    background-color: #2d2d2d;
    border-top: 1px solid #3c3c3c;
}

.collapsible {
    background-color: #2d2d2d;
    border: none;
    color: #007acc;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    border-bottom: 1px solid #3c3c3c;
}

.collapsible:hover {
    background-color: #373737;
}

.collapsible.active::before {
    content: "▼ ";
}

.collapsible::before {
    content: "► ";
}

.content {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #2d2d2d;
}

.content.active {
    max-height: 500px;
    padding: 15px;
}

.setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.setting-label {
    color: #f5f5f5;
    font-size: 14px;
}

.setting-input {
    background-color: #1a1a1a;
    border: 1px solid #3c3c3c;
    color: #f5f5f5;
    padding: 8px;
    border-radius: 4px;
    width: 80px;
    text-align: center;
}

.length-slider {
    width: 200px;
    margin-left: 10px;
}

.symbols-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.symbol-item {
    display: flex;
    align-items: center;
    font-family: 'Consolas', monospace;
    font-size: 12px;
}

.symbol-checkbox {
    margin-right: 8px;
}

.spelling-section {
    padding: 20px;
    background-color: #2d2d2d;
    border-top: 1px solid #3c3c3c;
}

.spelling-display {
    width: 100%;
    height: 150px;
    background-color: #1a1a1a;
    border: 1px solid #3c3c3c;
    border-radius: 4px;
    padding: 15px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 12px;
    color: #f5f5f5;
    overflow-y: auto;
    white-space: pre-wrap;
}

.buttons {
    padding: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #007acc;
    color: white;
}

.btn-primary:hover {
    background-color: #005c9c;
}

.btn-success {
    background-color: #5cb85c;
    color: white;
}

.btn-success:hover {
    background-color: #449d44;
}

.status {
    text-align: center;
    padding: 10px;
    font-size: 14px;
    color: #aaa;
}

.footer {
    text-align: center;
    padding: 15px;
    color: #aaa;
    font-size: 12px;
    border-top: 1px solid #3c3c3c;
}

.footer a {
    color: #007acc;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.demo-limitations {
    background-color: #3a3a0f;
    border: 1px solid #8a8a00;
    padding: 10px;
    margin: 15px;
    border-radius: 4px;
    font-size: 12px;
    color: #ffff99;
}