/* Security Toolkit Specific Styles */

.toolkit-page-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.toolkit-header {
    margin-bottom: 40px;
}

.toolkit-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #93c5fd, #3b82f6);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 18px rgba(59, 130, 246, 0.25);
}

.toolkit-subtitle {
    color: var(--muted);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Tab Navigation */
.toolkit-tabs {
    display: flex;
    gap: 32px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
}

.toolkit-tabs::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn:hover {
    color: var(--text);
    transform: translateY(-1px);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
    background: linear-gradient(90deg, #93c5fd, #3b82f6);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 18px rgba(59, 130, 246, 0.25);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #3b82f6;
    box-shadow: 0 0 12px #3b82f6;
    border-radius: 2px;
}

/* Tool Panel Card */
.tool-panel-container {
    max-width: 1100px;
    width: 100%;
    margin-top: 10px;
}

.glass-panel {
    background: linear-gradient(180deg, rgba(17, 24, 39, .75), rgba(15, 23, 42, .65));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
    padding: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    min-height: 450px;
    animation: contentFadeIn 0.3s ease-out;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-section {
    display: none;
}

.tool-section.active {
    display: block;
}

.tool-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #93c5fd, #3b82f6);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.tool-section-description {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 800px;
}

/* Tool Input Group */
.tool-input-group {
    margin-bottom: 24px;
}

.tool-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #60a5fa;
    text-shadow: 0 0 12px rgba(96, 165, 250, .25);
    margin-bottom: 10px;
}

.tool-input {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tool-input:focus {
    border-color: #3b82f6;
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.tool-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.tool-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.tool-btn:active {
    transform: translateY(0);
}

.tool-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Password Checker Overrides */
.password-meter-wrapper {
    margin-top: 20px;
}

.meter-bar-container {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.meter-bar {
    height: 100%;
    width: 0;
    transition: all 0.4s ease;
}

.strength-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#strength-text {
    font-weight: 700;
    font-size: 1rem;
}

.feedback-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feedback-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.feedback-item i {
    font-size: 0.7rem;
}

/* Responsive */
@media (max-width: 768px) {
    .toolkit-page-wrapper {
        padding: 30px 20px;
    }

    .toolkit-title {
        font-size: 2rem;
    }

    .glass-panel {
        padding: 24px;
    }

    .toolkit-tabs {
        gap: 20px;
    }
}