/* MANDATORY: Import exact color scheme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bc-bg-main: #9ab6c1;
    --bc-nav: #4a5c6a;
    --bc-content: #dfeef4;
    --bc-text-secondary: #6b8491;
    --bc-white: #ffffff;
    --bc-border: #c8d8df;
    --bc-hover: #3a4c5a;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #9ab6c1;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    background: #dfeef4;
    padding: 30px;
    margin: 20px 0;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.header h1 {
    color: #4a5c6a;
    font-size: 36px;
    margin-bottom: 10px;
}

.header p {
    color: #6b8491;
    font-size: 18px;
}

.tab-container {
    background: #dfeef4;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background: #4a5c6a;
}

.tab-button {
    flex: 1;
    padding: 15px 20px;
    background: none;
    border: none;
    color: #dfeef4;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.tab-button.active {
    background: #dfeef4;
    color: #4a5c6a;
}

.tab-button:hover:not(.active) {
    background: #3a4c5a;
}

.tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.usage-counter {
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #c8d8df;
    margin-bottom: 20px;
    text-align: center;
}

.usage-counter span {
    color: #6b8491;
    font-size: 14px;
}

.password-display {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #c8d8df;
    margin-bottom: 20px;
}

.password-output {
    width: 100%;
    padding: 15px;
    font-size: 20px;
    font-family: 'Courier New', monospace;
    border: 1px solid #c8d8df;
    border-radius: 6px;
    margin-bottom: 15px;
    background: #ffffff;
}

.strength-meter {
    margin: 15px 0;
}

.strength-bar {
    height: 8px;
    background: #c8d8df;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.strength-fill {
    height: 100%;
    width: 0;
    transition: width 0.3s, background 0.3s;
}

.strength-fill.weak { background: #ef4444; width: 25%; }
.strength-fill.fair { background: #f59e0b; width: 50%; }
.strength-fill.good { background: #3b82f6; width: 75%; }
.strength-fill.strong { background: #10b981; width: 100%; }

#strengthText {
    color: #6b8491;
    font-size: 14px;
}

.options-panel {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #c8d8df;
    margin-bottom: 20px;
}

.option-group {
    margin-bottom: 20px;
}

.option-group:last-child {
    margin-bottom: 0;
}

.option-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #4a5c6a;
}

.length-slider {
    display: flex;
    align-items: center;
    gap: 15px;
}

.slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #c8d8df;
    outline: none;
    -webkit-appearance: none;
}

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

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

.length-value {
    min-width: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    color: #4a5c6a;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-item input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-item span {
    color: #4a5c6a;
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #4a5c6a;
    color: #ffffff;
}

.btn-primary:hover {
    background: #3a4c5a;
}

.btn-secondary {
    background: #ffffff;
    color: #4a5c6a;
    border: 1px solid #c8d8df;
}

.btn-secondary:hover {
    background: #dfeef4;
}

.pro-features {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
}

.pro-features h3 {
    color: #92400e;
    margin-bottom: 20px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th {
    background: #4a5c6a;
    color: #ffffff;
    padding: 15px;
    text-align: left;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #c8d8df;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h4 {
    color: #4a5c6a;
    margin-bottom: 8px;
}

.faq-item p {
    color: #6b8491;
    line-height: 1.6;
}

.how-to-steps {
    counter-reset: step-counter;
    margin-bottom: 30px;
}

.how-to-step {
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
    color: #6b8491;
    line-height: 1.6;
}

.how-to-step::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: #4a5c6a;
    color: #ffffff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 28px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .comparison-table {
        font-size: 14px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }
}
