/* Data Breach Notification Form */
.databreach-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    margin: 5px;
    justify-content: center;
}

.databreach-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 24px 32px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff6a3d, #e94724);
    color: #fff;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: background 0.3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    flex: 1;
    min-height: 300px;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.databreach-btn:hover {
    background: linear-gradient(135deg, #ff7a52, #e94724);
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.35);
}

.databreach-btn i {
    font-size: 5rem;
    transition: color 0.3s ease-in-out;
}

.databreach-btn:hover i {
    color: #fdfdfd;
}

/* Subtle light sheen on hover */
.databreach-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.35), transparent 55%);
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.databreach-btn:hover::before {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .databreach-actions {
        gap: 1.5rem;
    }

    .databreach-btn {
        max-width: 100%;
        min-height: 220px;
        padding: 20px 24px;
    }

    .databreach-btn i {
        font-size: 3.5rem;
    }
}

/* Data Breach Notification Form Styles */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem;
}

.form-container {
    width: 100%;
    max-width: 1200px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    box-sizing: border-box;
}

.form-container form {
    width: 100%;
    box-sizing: border-box;
}

.data-breach-section {
    background-color: #f2f3f3;
}

.data-breach-title {
    color: #e94724;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    width: 100%;
}

.form-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    width: 100%;
    padding: 0;
    margin-bottom: 0.5rem;
}

.form-content p {
    margin-bottom: 1rem;
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

.form-content p:last-child {
    margin-bottom: 0;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.form-checkbox input {
    margin-top: 3px;
}

.form-checkbox span {
    flex: 1;
}

.form-block {
    margin-bottom: 1rem;
}

.form-section {
    background: #fff;
    padding: 1rem;
}

.form-title {
    background: #000;
    color: #fff;
    font-weight: 700;
    text-align: center;
    padding: 6px 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 1rem;
}

.form-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #000;
}

.form-table th,
.form-table td {
    border: 1px solid #000;
    padding: 8px 10px;
    vertical-align: top;
    font-size: 14px;
}

.form-col {
    background: #d9d9d9;
    font-weight: 700;
    text-align: left;
}

.form-input,
.form-textarea {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
}

.form-textarea {
    min-height: 90px;
    resize: vertical;
}

.form-input:focus,
.form-textarea:focus,
select:focus,
input:focus,
textarea:focus {
    outline: none;
    border-color: #00bcd4;
    box-shadow: 0 0 0 2px rgba(0, 188, 212, 0.25);
}

.form-list {
    margin: 6px 0 0 18px;
    padding: 0;
}

.form-list li {
    margin-bottom: 4px;
}

.form-radios {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.form-radio-option {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    font-weight: 600;
}

.form-subnote {
    font-weight: 600;
    margin: 6px 0;
}

.form-actions {
    padding: 1rem;
}

.submit-form {
    background: #00bcd4;
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 400;
    font-size: 16px;
    transition: background-color 0.3s;
}

.submit-form:hover {
    background: #00a5bb;
}

/* Modal display states */
#success.modal,
#failed.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#success.modal.show,
#failed.modal.show {
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Success and Failed Modal Styles */
#success .modal-content,
#failed .modal-content {
    width: 500px;
    border-radius: 8px;
    transform: scale(0.7);
    transition: transform 0.3s ease;
    background-color: #fff;
    overflow: hidden;
}

/* Animation for modal content */
#success.modal.show .modal-content,
#failed.modal.show .modal-content {
    transform: scale(1);
}

#success .modal-header,
#failed .modal-header {
    border: none;
    padding: 1rem;
    background-color: #f0f6ff;
    position: relative;
}

#success .modal-header .close,
#failed .modal-header .close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.5rem 1rem;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

#success .modal-body,
#failed .modal-body {
    display: flex;
    align-items: center;
    padding: 2rem 1rem;
}

#success .modal-body .modal-icon,
#failed .modal-body .modal-icon {
    margin-right: 1rem;
}

#success .modal-body .modal-icon i {
    color: #4CAF50;
}

#failed .modal-body .modal-icon i {
    color: #F44336;
}

#success .modal-body p,
#failed .modal-body p {
    margin: 5px 0;
    font-size: 14px;
}

#success .modal-body p:first-of-type,
#failed .modal-body p:first-of-type {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}

#success .modal-body p:first-of-type {
    color: #4CAF50;
}

#failed .modal-body p:first-of-type {
    color: #F44336;
}