/* Password Generator Premium Styles - Scoped to .tool-container */

.tool-container {
    width: 100%;
}

/* Premium Card Refinements */
.tool-container .premium-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.tool-container .card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.tool-container .card-title svg {
    color: #3b82f6;
}

/* Password Display Area */
.tool-container .password-display-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.tool-container #password-output {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    letter-spacing: 2px;
    transition: all 0.2s ease;
}

.tool-container #password-output:focus {
    outline: none;
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Strength Meter */
.tool-container .strength-meter-container {
    background: #f1f5f9;
    padding: 1.5rem;
    border-radius: 1rem;
    margin-top: 1rem;
}

.tool-container .strength-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.tool-container .strength-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tool-container #strength-text {
    font-size: 0.9rem;
    font-weight: 800;
    color: #1e293b;
}

.tool-container .meter-bg {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.tool-container .strength-bar {
    height: 100%;
    width: 0%;
    background: #ef4444;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tool-container .hack-info {
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tool-container #hack-time {
    color: #1e293b;
    font-weight: 700;
}

/* Options Grid */
.tool-container .options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.tool-container .option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.tool-container .option-item:hover {
    border-color: #3b82f6;
    background: #ffffff;
}

.tool-container .option-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.tool-container .option-item label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
}

/* Length Slider */
.tool-container .length-control {
    margin-bottom: 2rem;
}

.tool-container .length-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.tool-container #length-val {
    background: #3b82f6;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
}

.tool-container input[type="range"] {
    width: 100%;
    margin: 10px 0;
}

/* Action Buttons */
.tool-container .button-group {
    display: flex;
    gap: 12px;
}

.tool-container .button-group .btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 1.5rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    cursor: pointer;
    gap: 8px;
    border: none;
}

.tool-container .btn-primary {
    background: #3b82f6;
    color: white;
}

.tool-container .btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.tool-container .btn-secondary {
    background: #f1f5f9;
    color: #475569;
}

.tool-container .btn-secondary:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Features Grid - Ultra Minimalist */
.tool-container .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.tool-container .feature-card {
    background: #ffffff;
    padding: 2.25rem;
    border-radius: 1rem;
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
}

.tool-container .feature-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-4px);
}

.tool-container .feature-icon {
    color: #1e293b;
    margin-bottom: 1.25rem;
}

.tool-container .feature-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.5;
}

.tool-container .feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.85rem;
}

.tool-container .feature-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-container .animate-fade {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (max-width: 640px) {
    .tool-container .premium-card {
        padding: 1.5rem;
    }

    .tool-container .button-group {
        flex-direction: column;
    }

    .tool-container .options-grid {
        grid-template-columns: 1fr;
    }
}