.container {
    max-width: 800px;
    width: 100%;
    margin: 1.5rem auto;
    padding: 15px;
}

h1 {
    color: #000;
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 500;
    text-align: center;
}

.instructions {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.6;
    color: #1a1a1a;
}

.instructions h2 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
}

.instructions p {
    margin-bottom: 8px;
}

.instructions ul {
    margin-left: 20px;
    margin-bottom: 8px;
}

.instructions li {
    margin-bottom: 4px;
}

.comparison-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.cracker-panel {
    border: 1px solid #e0e0e0;
    padding: 20px;
}

.panel-header {
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.current-attempt-value {
    font-size: 40px;
    font-weight: 400;
    color: #000;
    font-family: 'Courier New', monospace;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    word-break: break-all;
}

.milestones {
    margin-bottom: 12px;
    padding-bottom: 12px;
}

.speed-disclaimer {
    font-size: 14px;
    color: #555;
    text-align: center;
    font-style: italic;
    margin-bottom: 15px;
    padding-bottom: 0;
}

.milestone-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 3px;
}

.milestone-label {
    font-size: 18px;
    color: #1a1a1a;
    min-width: 140px;
    font-weight: 500;
}

.milestone-status {
    flex: 1;
    font-size: 17px;
    color: #333;
    display: flex;
    align-items: center;
}

.milestone-check {
    color: #2e7d32;
    font-size: 20px;
    font-weight: bold;
}

.progress-bar-mini {
    flex: 1;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-bar-mini-fill {
    height: 100%;
    background: #000;
    transition: width 0.3s;
}

.charset-controls {
    display: none;
}

.expand-btn {
    width: 100%;
    padding: 10px;
    margin-top: 0;
    border: 2px solid #d0d0d0;
    background: white;
    color: #1a1a1a;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s;
}

.expand-btn:hover {
    background: #f5f5f5;
    border-color: #000;
    color: #000;
}

.speed-controls {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.speed-btn {
    flex: 1;
    padding: 14px 8px;
    border: 2px solid #d0d0d0;
    background: white;
    color: #1a1a1a;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    text-align: center;
}

.speed-label {
    font-weight: 600;
    font-size: 17px;
}

.speed-value {
    font-size: 13px;
    color: #333;
    line-height: 1.3;
}

.speed-btn:hover {
    border-color: #000;
    color: #000;
}

.speed-btn.active {
    background: #000;
    color: white;
    border-color: #000;
}

.speed-btn.active .speed-value {
    color: white;
}

.speed-example {
    font-size: 11px;
    color: #666;
    line-height: 1.3;
    font-style: italic;
}

.speed-btn.active .speed-example {
    color: rgba(255, 255, 255, 0.8);
}

.control-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.btn {
    flex: 1;
    padding: 14px;
    border: 2px solid #000;
    background: white;
    color: #000;
    cursor: pointer;
    font-size: 19px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn:hover {
    background: #000;
    color: white;
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn:disabled:hover {
    background: white;
    color: #000;
}
