.dwr-container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.dwr-form {
background: #fff;
padding: 30px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
margin-bottom: 8px;
font-weight: 500;
}
.form-group input[type="text"],
.form-group input[type="email"] {
width: 100%;
padding: 8px 12px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 14px;
}
.checkbox-group {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 10px;
margin-top: 8px;
}
.checkbox-group label {
font-weight: normal;
display: flex;
align-items: center;
gap: 8px;
}
.help-text {
color: #666;
font-size: 12px;
margin-top: 4px;
}
#dwr-loading {
text-align: center;
padding: 40px;
}
.loading-spinner {
border: 4px solid #f3f3f3;
border-top: 4px solid #3498db;
border-radius: 50%;
width: 40px;
height: 40px;
animation: spin 1s linear infinite;
margin: 0 auto 20px;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
#dwr-error {
background: #fff3f3;
border-left: 4px solid #dc3545;
padding: 15px;
margin: 20px 0;
border-radius: 4px;
}
.error-message {
color: #dc3545;
margin: 0;
}
#dwr-report {
margin-top: 20px;
background: #fff;
border-radius: 5px;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
padding: 20px;
}
.breach-stats-summary {
display: flex;
justify-content: flex-start;
margin: 15px 0;
}
.breach-stats-summary .stat-item {
text-align: center;
margin-right: 20px;
background: #f5f5f5;
padding: 10px 15px;
border-radius: 4px;
}
.breach-stats-summary .stat-value {
font-size: 24px;
font-weight: bold;
display: block;
color: #0043CE;
}
.breach-stats-summary .stat-label {
font-size: 12px;
color: #555;
}
.timeline-container {
position: relative;
margin: 20px 0;
padding: 0 10px;
}
.timeline-line {
position: absolute;
top: 0;
bottom: 0;
left: 10px;
width: 2px;
background: #ddd;
}
.timeline-events {
position: relative;
}
.timeline-event {
position: relative;
margin-bottom: 15px;
padding-left: 30px;
}
.timeline-dot {
position: absolute;
left: 0;
top: 5px;
width: 12px;
height: 12px;
border-radius: 50%;
background: #999;
margin-left: -5px;
z-index: 1;
}
.timeline-dot.high {
background: #e53935;
}
.timeline-dot.medium {
background: #ff9800;
}
.timeline-dot.low {
background: #4caf50;
} .timeline-container.horizontal {
padding: 0;
margin: 20px 0;
overflow-x: auto;
}
.timeline-events-horizontal {
display: flex;
position: relative;
padding-bottom: 10px;
}
.timeline-events-horizontal:before {
content: '';
position: absolute;
top: 15px;
left: 0;
right: 0;
height: 2px;
background: #ddd;
z-index: 0;
}
.timeline-event-horizontal {
position: relative;
flex: 0 0 auto;
margin-right: 30px;
text-align: center;
min-width: 100px;
max-width: 150px;
}
.timeline-event-horizontal .timeline-dot {
position: relative;
display: inline-block;
left: auto;
top: auto;
margin: 0 auto 5px;
}
.timeline-event-horizontal .timeline-date {
display: block;
margin-top: 5px;
}
.timeline-event-horizontal .timeline-title {
display: block;
font-size: 12px;
line-height: 1.3;
margin-top: 5px;
word-break: break-word;
}
.timeline-date {
font-size: 12px;
color: #777;
}
.timeline-title {
font-weight: bold;
font-size: 14px;
}
.data-exposure-summary {
margin: 15px 0;
background: #f9f9f9;
padding: 15px;
border-radius: 4px;
}
.data-exposure-summary h4 {
margin: 0 0 10px 0;
font-size: 16px;
color: #333;
}
.exposure-stats {
background: #f0f0f0;
padding: 10px;
margin: 10px 0;
border-radius: 4px;
}
.exposure-stats p {
margin: 0;
font-size: 13px;
}
.exposure-categories {
display: flex;
flex-wrap: wrap;
gap: 15px;
margin-top: 15px;
}
.exposure-category {
flex: 1 1 200px;
background: #f5f5f5;
padding: 10px 15px;
border-radius: 4px;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.exposure-category h4 {
margin: 0 0 10px 0;
font-size: 14px;
color: #333;
border-bottom: 1px solid #ddd;
padding-bottom: 5px;
}
.data-type-list {
list-style: none;
margin: 0;
padding: 0;
}
.data-type-list li {
display: flex;
justify-content: space-between;
margin-bottom: 5px;
font-size: 12px;
}
.data-type-name {
position: relative;
padding-left: 12px;
}
.data-type-name:before {
content: '•';
position: absolute;
left: 0;
color: #0043CE;
}
.data-type-count {
background: #e9e9e9;
border-radius: 10px;
padding: 1px 6px;
font-size: 11px;
color: #555;
}
.more-types {
font-style: italic;
color: #777;
text-align: right;
font-size: 11px;
}
.report-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
padding-bottom: 20px;
border-bottom: 1px solid #eee;
}
.risk-score .score {
text-align: center;
padding: 20px;
border-radius: 8px;
color: white;
}
.risk-score .score.critical {
background: #dc3545;
}
.risk-score .score.high {
background: #fd7e14;
}
.risk-score .score.medium {
background: #ffc107;
color: #343a40;
}
.risk-score .score.low {
background: #28a745;
}
.risk-score .number {
display: block;
font-size: 36px;
font-weight: bold;
line-height: 1;
}
.risk-score .label {
display: block;
font-size: 14px;
margin-top: 5px;
}
.finding {
background: #f8f9fa;
border-radius: 6px;
padding: 20px;
margin-bottom: 20px;
}
.finding h4 {
margin: 0 0 15px;
color: #343a40;
}
.finding .meta {
display: flex;
gap: 15px;
margin-bottom: 15px;
font-size: 13px;
}
.finding .severity {
font-weight: 500;
text-transform: uppercase;
}
.finding.critical {
border-left: 4px solid #dc3545;
}
.finding.high {
border-left: 4px solid #fd7e14;
}
.finding.medium {
border-left: 4px solid #ffc107;
}
.finding.low {
border-left: 4px solid #28a745;
}
.finding .description {
margin-bottom: 15px;
line-height: 1.5;
}
.finding .impact {
background: rgba(0,0,0,0.05);
padding: 10px 15px;
border-radius: 4px;
margin-bottom: 15px;
}
.finding .indicators {
margin-top: 15px;
}
.finding .indicators ul {
margin: 10px 0;
padding-left: 20px;
}
.finding .indicators li {
margin-bottom: 5px;
}
.recommendations {
margin-top: 30px;
padding-top: 20px;
border-top: 1px solid #eee;
}
.recommendations h3 {
margin-bottom: 15px;
}
.recommendations ul {
padding-left: 20px;
}
.recommendations li {
margin-bottom: 10px;
line-height: 1.5;
}
.no-findings {
text-align: center;
color: #28a745;
padding: 30px;
background: #f8f9fa;
border-radius: 6px;
margin: 20px 0;
}
.report-actions {
margin-top: 30px;
padding-top: 20px;
border-top: 1px solid #eee;
text-align: right;
} @media (max-width: 768px) {
.dwr-container {
margin: 1rem;
padding: 1rem;
}
.risk-score-container {
flex-direction: column;
text-align: center;
}
.report-actions {
flex-direction: column;
}
.button.button-primary {
width: 100%;
}
} .report-summary {
background: #f8f9fa;
border-radius: 8px;
padding: 20px;
margin-bottom: 30px;
}
.risk-overview {
display: grid;
grid-template-columns: auto 1fr;
gap: 30px;
margin-bottom: 30px;
}
.risk-score {
text-align: center;
}
.score-circle {
width: 120px;
height: 120px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
font-weight: bold;
color: white;
margin: 15px auto;
}
.risk-factors ul {
list-style: none;
padding: 0;
margin: 0;
}
.risk-factors li {
margin-bottom: 15px;
}
.risk-factor-name {
display: block;
margin-bottom: 5px;
font-weight: 500;
}
.risk-bar {
height: 10px;
background: #e9ecef;
border-radius: 5px;
overflow: hidden;
}
.risk-fill {
height: 100%;
transition: width 0.3s ease;
}
.risk-value {
float: right;
font-weight: 500;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin-bottom: 20px;
}
.stat-item {
text-align: center;
padding: 15px;
background: white;
border-radius: 6px;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.stat-value {
display: block;
font-size: 24px;
font-weight: bold;
color: #2c3e50;
}
.stat-label {
display: block;
color: #6c757d;
margin-top: 5px;
}
.breach-timeline {
text-align: center;
color: #6c757d;
margin-top: 20px;
}
.detailed-findings {
margin-top: 30px;
}
.finding-item {
background: white;
border-radius: 8px;
padding: 20px;
margin-bottom: 20px;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
border-left: 4px solid;
}
.finding-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}
.severity-badge {
padding: 5px 10px;
border-radius: 4px;
font-size: 12px;
font-weight: bold;
text-transform: uppercase;
}
.finding-meta {
display: flex;
gap: 20px;
color: #6c757d;
font-size: 14px;
margin-bottom: 15px;
}
.tag-list {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin: 10px 0;
}
.tag {
background: #e9ecef;
padding: 4px 8px;
border-radius: 4px;
font-size: 12px;
}
.indicator-category {
margin: 15px 0;
}
.indicator-category h6 {
color: #495057;
margin-bottom: 10px;
}
.indicator-category ul {
margin: 0;
padding-left: 20px;
} .critical-severity {
border-left-color: #dc3545;
}
.high-severity {
border-left-color: #fd7e14;
}
.medium-severity {
border-left-color: #ffc107;
}
.low-severity {
border-left-color: #28a745;
}
.severity-badge.critical {
background: #dc3545;
color: white;
}
.severity-badge.high {
background: #fd7e14;
color: white;
}
.severity-badge.medium {
background: #ffc107;
color: #212529;
}
.severity-badge.low {
background: #28a745;
color: white;
} .score-circle.critical {
background: #dc3545;
}
.score-circle.high {
background: #fd7e14;
}
.score-circle.medium {
background: #ffc107;
}
.score-circle.low {
background: #28a745;
}
.risk-fill.critical {
background: #dc3545;
}
.risk-fill.high {
background: #fd7e14;
}
.risk-fill.medium {
background: #ffc107;
}
.risk-fill.low {
background: #28a745;
} @media (max-width: 768px) {
.risk-overview {
grid-template-columns: 1fr;
}
.stats-grid {
grid-template-columns: repeat(2, 1fr);
}
.finding-header {
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
.finding-meta {
flex-direction: column;
gap: 10px;
}
}