.analyzer-container {
    padding: 3rem 0;
}

.analyzer-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.analyzer-card h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.analyzer-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.analyzer-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.analyzer-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.analyzer-input::placeholder {
    color: var(--text-muted);
}

.btn-primary {
    position: relative;
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.25) 0%, rgba(59, 130, 246, 0.15) 100%);
    color: white;
    border: 1px solid rgba(59, 130, 246, 0.4);
    padding: 1rem 1.75rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.35) 0%, rgba(59, 130, 246, 0.25) 100%);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 1.75rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.info-box {
    padding: 1.25rem;
    border-radius: 12px;
    margin-top: 1.25rem;
}

.info-box-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-left: 3px solid #3b82f6;
}

.info-box-red {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
    border-left: 3px solid #ef4444;
}

.info-box-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.info-box-blue .info-box-header svg {
    color: #3b82f6;
}

.info-box-red .info-box-header svg {
    color: #ef4444;
}

.info-box-header h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
}

.info-box-blue .info-box-header h4 {
    color: #3b82f6;
}

.info-box-red .info-box-header h4 {
    color: #ef4444;
}

.info-box p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.6;
}

.results-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.result-summary-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.result-summary-card.danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.result-summary-card.danger .result-icon {
    color: #ef4444;
}

.result-summary-card.danger .result-title {
    color: #ef4444;
}

.result-summary-card.danger .count-number {
    color: #ef4444;
}

.result-summary-card.safe {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.result-summary-card.safe .result-icon {
    color: #22c55e;
}

.result-summary-card.safe .result-title {
    color: #22c55e;
}

.result-summary-card.safe .count-number {
    color: #22c55e;
}

.result-content {
    flex: 1;
}

.result-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.result-subtitle {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

.result-count {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    margin-top: 1rem;
}

.count-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.count-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.breaches-section {
    margin-bottom: 2rem;
}

.section-subtitle {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-subtitle svg {
    color: #ef4444;
}

.breaches-grid {
    display: grid;
    gap: 1rem;
}

.breach-item {
    background: rgba(239, 68, 68, 0.08);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    transition: all 0.3s ease;
}

.breach-item:hover {
    border-color: rgba(239, 68, 68, 0.4);
    transform: translateY(-2px);
}

.breach-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.breach-header h5 {
    margin: 0;
    color: #ef4444;
    font-size: 1.1rem;
    font-weight: 600;
}

.breach-date {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.breach-domain {
    margin: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.breach-data-classes {
    margin-top: 0.75rem;
}

.breach-data-classes strong {
    color: var(--text-secondary);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.5rem;
}

.data-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.data-tag {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.breach-description {
    margin-top: 0.75rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.recommendations-box {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.recommendations-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.recommendations-header strong {
    font-size: 1rem;
}

.recommendations-list {
    margin: 0;
    padding-left: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.recommendations-list li {
    margin-bottom: 0.25rem;
}

.success-message {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 16px;
    margin-bottom: 2rem;
}

.success-message svg {
    color: #22c55e;
    margin-bottom: 1rem;
}

.success-message h4 {
    color: #22c55e;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.success-message p {
    color: var(--text-secondary);
    margin: 0;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.alert-error {
    text-align: center;
    padding: 2rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 16px;
    margin-bottom: 2rem;
}

.alert-icon {
    color: #ef4444;
    margin-bottom: 1rem;
}

.alert-error h3 {
    color: #ef4444;
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
}

.alert-error p {
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 768px) {
    .analyzer-card,
    .results-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .input-group {
        flex-direction: column;
    }

    .result-summary-card {
        flex-direction: column;
        text-align: center;
    }

    .breach-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}