/* Test Configuration Page Styles */

.test-result-container {
    font-family: Calibri, sans-serif;
    padding: 40px 3%;
    max-width: 100%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.user-email-display {
    font-size: 14px;
    color: #444;
    margin-bottom: 20px;
}

.attributes-received-heading {
    font-weight: bold;
    font-size: 14pt;
}

.nameid-warning-container {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #fff5f5;
    border: 1px solid #f5c2c2;
    color: #d32f2f;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 20px;
}

.warning-icon {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #d32f2f;
    color: #ffffff;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
}

.warning-text strong {
    font-size: 16px;
}

.action-buttons-container {
    margin: 3%;
    display: block;
    text-align: center;
}

.action-button {
    border: none;
    outline: none;
    cursor: pointer;
    width: 250px;
    padding: 13px 22px;
    border-radius: 5px;
    font-size: 15px;
    color: #fff;
    background-color: #3498db;
    transition: background-color 0.3s ease;
}

.action-button:hover {
    background-color: #2980b9;
}

.action-button:active {
    background-color: #1f618d;
}

.kw-user-attribute-container {
    overflow-x: auto;
    max-width: 100%;
    margin-top: 20px;
}

.kw-user-attribute-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
}

.kw-user-attribute-header {
    background-color: #6cb2eb;
    font-weight: bold;
    color: #fff;
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.kw-user-attribute-cell {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.test-success-container {
    display: inline-flex;
    align-items: center;
    background-color: #6cb2eb;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    color: #ffffff;
    min-height: 60px;
    width: 100%;
}

.test-success-icon {
    fill: #ffffff;
    margin-right: 10px;
}

.test-success-icon path {
    fill: #6cb2eb;
}

.test-success-icon polyline {
    fill: none;
    stroke: #ffffff;
    stroke-miterlimit: 10;
    stroke-width: 4;
}

.test-success-text {
    font-size: 18px;
}

.test-failure-container {
    display: inline-flex;
    align-items: center;
    background-color: #ff8383;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    color: #ffffff;
    min-height: 60px;
    width: 100%;
}

.test-failure-icon {
    fill: #ffffff;
    margin-right: 10px;
}

.test-failure-icon path:first-child {
    fill: #f78f8f;
}

.test-failure-icon path:nth-child(2) {
    fill: #c74343;
}

.test-failure-icon path:nth-child(3),
.test-failure-icon path:nth-child(4) {
    fill: #ffffff;
}

.test-failure-text {
    font-size: 18px;
}

.div-body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
}

/* Container Styles */
.container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 90%;
    text-align: center;
    overflow: hidden;
    padding: 20px;
}

/* Header Styles */
.container h1 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2196f3;
}

.email {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.status {
    font-size: 16px;
    color: #4caf50;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Horizontal Line Container */
.horizontal-line-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.horizontal-line {
    border-top: 1px solid #ddd;
    width: 35%;
}

.or-text {
    font-size: 14px;
    font-weight: 700;
    color: #555;
}

/* Modern Table Styles */
.container table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
}

.container table thead {
    background: #2196f3;
    color: #fff;
}

.container table th,
.container table td {
    padding: 12px;
    text-align: left;
    font-size: 14px;
}

.container table th {
    font-weight: 600;
}

.container table tbody tr {
    background: #f9f9f9;
    transition: background 0.3s ease;
}

.container table tbody tr:nth-child(even) {
    background: #f3f3f3;
}

.container table tbody tr:hover {
    background: #e3f2fd;
}

.container table tbody td {
    border-bottom: 1px solid #ddd;
}

.container table tbody td:last-child {
    color: #555;
}

.container footer {
    margin-top: 15px;
    font-size: 12px;
    color: #777;
}

/* Error Container Styles */
.kw-error-container {
    font-family: Arial, sans-serif;
    padding: 1.5%;
    max-width: 600px;
    margin: 40px auto;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.kw-error-header {
    background-color: #f44336;
    color: #fff;
    padding: 12px;
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.kw-error-body {
    color: #444;
    font-size: 15px;
    line-height: 1.5;
    padding: 20px;
}

.kw-error-body p {
    margin-bottom: 1em;
}

.kw-error-body strong {
    color: #333;
    font-weight: 600;
}

.kw-error-footer {
    text-align: center;
    padding: 15px;
    border-top: 1px solid #e0e0e0;
}

.kw-error-button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.kw-error-button:hover {
    background-color: #0056b3;
    transform: scale(1.03);
}

/* Responsive Design */
@media (max-width: 400px) {
    .container {
        padding: 15px;
    }

    .container h1 {
        font-size: 18px;
    }

    .container table th,
    .container table td {
        padding: 8px;
    }

    .horizontal-line-container {
        flex-direction: column;
    }

    .horizontal-line {
        width: 100%;
        margin: 10px 0;
    }
}

