body {
    background: #f9fbff !important;
}

[data-theme="dark"] body {
    background: #0e0f19 !important;
}

.xon {
    background: #f9fbff;
}

[data-theme="dark"] .xon {
    background: #0e0f19;
}

.searchMe {
    background: #f9fbff;
}

[data-theme="dark"] .searchMe {
    background: #0e0f19;
}

.breach-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #f9fbff;
}

[data-theme="dark"] .breach-detail-container {
    background: #0e0f19;
}

.breach-back-nav {
    margin-bottom: 20px;
}

.breach-back-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3f71f3;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.breach-back-nav a:hover {
    color: #2a5ad0;
    text-decoration: none;
}

[data-theme="dark"] .breach-back-nav a {
    color: #4284fb;
}

[data-theme="dark"] .breach-back-nav a:hover {
    color: #6da0fc;
}

.breach-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #e3ebfe 0%, #d4e0fc 100%);
    border-radius: 15px;
    border: 1px solid #b8cffb;
}

[data-theme="dark"] .breach-header {
    background: linear-gradient(135deg, #181b2d 0%, #1e2235 100%);
    border-color: rgba(63, 113, 243, 0.2);
}

.breach-logo-container {
    flex-shrink: 0;
}

.breach-logo {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: contain;
    background: linear-gradient(135deg, #e8f0fe 0%, #d6e4fd 100%);
    padding: 15px;
    border: 2px solid #b8cffb;
}

[data-theme="dark"] .breach-logo {
    background: linear-gradient(135deg, #2a2f4a 0%, #1e2235 100%);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    border-color: rgba(63, 113, 243, 0.3);
}

.breach-info {
    flex: 1;
    text-align: left;
}

.breach-title {
    font-size: 42px;
    font-weight: bold;
    color: #3a4b5e;
    margin-bottom: 10px;
}

[data-theme="dark"] .breach-title {
    color: #9fc0e0;
}

.breach-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 5px;
}

[data-theme="dark"] .breach-subtitle {
    color: #9fc0e0;
}

.breach-date {
    font-size: 16px;
    color: #999;
}

[data-theme="dark"] .breach-date {
    color: #6daae0;
}

.industry-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 10px;
    object-fit: contain;
    background: linear-gradient(135deg, #e3ebfe 0%, #d4e0fc 100%);
    padding: 12px;
    border: 1px solid #b8cffb;
}

[data-theme="dark"] .industry-image {
    background: linear-gradient(135deg, #2a2f4a 0%, #242842 100%);
    border-color: rgba(63, 113, 243, 0.2);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: linear-gradient(135deg, #f5f8ff 0%, #e8f0fe 100%);
    border: 1px solid #c5d7fc;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(63, 113, 243, 0.12);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(63, 113, 243, 0.15);
    border-color: #3f71f3;
}

[data-theme="dark"] .stat-card {
    background: linear-gradient(135deg, #181b2d 0%, #1e2235 100%);
    border: 1px solid rgba(63, 113, 243, 0.2);
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .stat-card:hover {
    box-shadow: 0 5px 20px rgba(66, 132, 251, 0.3);
    border-color: #4284fb;
}

.stat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-value {
    font-size: 36px;
    font-weight: bold;
    color: #3f71f3;
    margin-bottom: 10px;
}

.stat-value .badge-status {
    font-size: 18px;
    padding: 8px 16px;
}

.stat-label-container {
    margin-top: auto;
}

.stat-label {
    font-size: 14px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

[data-theme="dark"] .stat-label {
    color: #9fc0e0;
}

.stat-sublabel {
    font-size: 12px;
    color: #777;
    margin-top: 5px;
    font-style: italic;
}

[data-theme="dark"] .stat-sublabel {
    color: #6daae0;
}

[data-theme="dark"] #added-date-line {
    color: #999;
}

.content-section {
    background: linear-gradient(135deg, #f9fbff 0%, #f0f5ff 100%);
    border: 1px solid #cfdcfb;
    border-radius: 15px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(63, 113, 243, 0.1);
    transition: box-shadow 0.3s ease;
}

.content-section:hover {
    box-shadow: 0 6px 20px rgba(63, 113, 243, 0.15);
}

[data-theme="dark"] .content-section {
    background: linear-gradient(135deg, #181b2d 0%, #1e2235 100%);
    border: 1px solid rgba(63, 113, 243, 0.2);
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .content-section:hover {
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.08);
}

.section-title {
    font-size: 26px;
    font-weight: 600;
    color: #3f71f3;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3f71f3;
}

[data-theme="dark"] .section-title {
    color: #4284fb;
    border-bottom-color: #4284fb;
}

.description-text {
    font-size: 18px;
    line-height: 1.8;
    color: #3a4b5e;
}

[data-theme="dark"] .description-text {
    color: #9fc0e0;
}

.data-types {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.data-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    background: linear-gradient(135deg, #3f71f3, #4284fb);
    color: #fff;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(63, 113, 243, 0.3);
}

.data-badge.data-badge-danger {
    background: linear-gradient(135deg, #dc3545, #e04555);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.data-badge.data-badge-warning {
    background: linear-gradient(135deg, #e67e22, #f39c12);
    box-shadow: 0 2px 8px rgba(230, 126, 34, 0.3);
}

.data-badge i {
    margin-right: 8px;
    font-size: 16px;
}

.details-table {
    width: 100%;
    margin-top: 20px;
}

.details-table tr {
    border-bottom: 1px solid #eee;
}

[data-theme="dark"] .details-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.details-table td {
    padding: 15px 0;
    font-size: 16px;
}

.details-table td:first-child {
    font-weight: 600;
    color: #3a4b5e;
    width: 40%;
}

[data-theme="dark"] .details-table td:first-child {
    color: #9fc0e0;
}

.details-table td:last-child {
    color: #666;
}

[data-theme="dark"] .details-table td:last-child {
    color: #9fc0e0;
}

.badge-status {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.badge-success {
    background: #28a745;
    color: #fff;
}

.badge-danger {
    background: #dc3545;
    color: #fff;
}

.badge-warning {
    background: #ffc107;
    color: #333;
}

.action-section {
    background: linear-gradient(135deg, #f5f8ff 0%, #e8f0fe 100%);
    border: 1px solid #c5d7fc;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
}

[data-theme="dark"] .action-section {
    background: linear-gradient(135deg, #181b2d 0%, #1e2235 100%);
    border-color: rgba(63, 113, 243, 0.2);
}

.action-header {
    text-align: center;
    margin-bottom: 30px;
}

.action-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3f71f3, #4284fb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.action-icon-wrapper i {
    font-size: 30px;
    color: #fff;
}

.action-section h3 {
    font-size: 28px;
    font-weight: 600;
    color: #3a4b5e;
    margin-bottom: 10px;
}

[data-theme="dark"] .action-section h3 {
    color: #9fc0e0;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.action-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #ccc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .action-card {
    background: #1e2235;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.action-card.urgent {
    border-left-color: #dc3545;
}

.action-card.high {
    border-left-color: #fd7e14;
}

.action-card.medium {
    border-left-color: #ffc107;
}

.action-card.info {
    border-left-color: #17a2b8;
}

.action-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.action-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
}

.action-card.urgent .action-card-icon {
    background: #dc3545;
}

.action-card.high .action-card-icon {
    background: #fd7e14;
}

.action-card.medium .action-card-icon {
    background: #ffc107;
    color: #333;
}

.action-card.info .action-card-icon {
    background: #17a2b8;
}

.action-priority {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
}

.action-card.urgent .action-priority {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.action-card.high .action-priority {
    background: rgba(253, 126, 20, 0.1);
    color: #fd7e14;
}

.action-card.medium .action-priority {
    background: rgba(255, 193, 7, 0.15);
    color: #d39e00;
}

.action-card.info .action-priority {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}

.action-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #3a4b5e;
    margin-bottom: 10px;
}

[data-theme="dark"] .action-card h4 {
    color: #9fc0e0;
}

.action-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

[data-theme="dark"] .action-card p {
    color: #9fc0e0;
}

.action-buttons {
    text-align: center;
    margin-top: 30px;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #3f71f3, #4284fb);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    margin: 10px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(63, 113, 243, 0.4);
    text-decoration: none;
    color: #fff;
}

.btn-secondary-custom {
    background: transparent;
    color: #3f71f3;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid #3f71f3;
    margin: 10px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background: #3f71f3;
    color: #fff;
    text-decoration: none;
}

[data-theme="dark"] .btn-secondary-custom {
    color: #4284fb;
    border-color: #4284fb;
}

[data-theme="dark"] .btn-secondary-custom:hover {
    background: #4284fb;
    color: #fff;
}

.reference-link {
    color: #3f71f3;
    font-weight: 500;
    overflow-wrap: break-word;
    word-break: break-word;
}

.reference-link:hover {
    color: #4284fb;
    text-decoration: underline;
}

[data-theme="dark"] .reference-link {
    color: #4284fb;
}

.loading-container {
    text-align: center;
    padding: 100px 20px;
    background: #f9fbff;
    min-height: 400px;
}

[data-theme="dark"] .loading-container {
    background: #0e0f19;
}

[data-theme="dark"] .loading-container h3 {
    color: #4284fb !important;
}

.loading-spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3f71f3;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

[data-theme="dark"] .loading-spinner {
    border: 5px solid #2a2a2a;
    border-top: 5px solid #4284fb;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.error-container {
    text-align: center;
    padding: 100px 20px;
    background: #f9fbff;
    min-height: 400px;
}

[data-theme="dark"] .error-container {
    background: #0e0f19;
}

.error-icon {
    font-size: 72px;
    color: #dc3545;
    margin-bottom: 20px;
}

.error-title {
    font-size: 32px;
    font-weight: bold;
    color: #3a4b5e;
    margin-bottom: 15px;
}

[data-theme="dark"] .error-title {
    color: #9fc0e0;
}

.error-message {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

[data-theme="dark"] .error-message {
    color: #9fc0e0;
}

.back-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: #3f71f3;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: #4284fb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(63, 113, 243, 0.3);
    text-decoration: none;
    color: #fff;
}

.back-button i {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .breach-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .breach-info {
        text-align: center;
    }

    .breach-title {
        font-size: 28px;
    }

    .breach-logo {
        width: 100px;
        height: 100px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 20px;
        min-height: 160px;
    }

    .stat-value {
        font-size: 28px;
    }

    .stat-label {
        font-size: 13px;
    }

    .industry-image {
        width: 60px;
        height: 60px;
        margin: 0 auto 10px;
    }

    .content-section {
        padding: 20px;
    }

    .section-title {
        font-size: 22px;
    }

    .description-text {
        font-size: 16px;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 12px 25px;
        font-size: 16px;
        display: block;
        margin: 10px auto;
    }

    .action-section {
        padding: 25px 20px;
    }
}
