﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1 {
    font-size: 32px;
    margin-bottom: 30px;
}

body {
    font-family: Arial, sans-serif;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9; /* Optional background color */
}

.container-doc {
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    display: flex;
    flex-direction: column; /* Stack children vertically */
    gap: 24px; /* Add space between rows */
    width: 100%;
}

.categories-container,
.accept-policy {
    width: 100%;
    box-sizing: border-box;
}

/* Responsive adjustments for mobile */
@media (max-width: 900px) {
    .content-wrapper {
        gap: 16px;
        padding: 0 4px;
    }

    .categories-container,
    .accept-policy {
        padding: 0;
    }
}

.categories-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 400px;
    padding: 0 8px;
    /* margin: 0 auto; */ /* Remove this line */
    align-items: flex-start; /* Ensures left alignment if inside a flex parent */
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    justify-content: center; /* Center items horizontally */
    align-items: flex-start;
}

a {
    text-decoration: none;
    color: inherit;
}

.category-card {
    background-color: #212237;
    color: white;
    border-radius: 6px;
    padding: 10px 14px;
    min-width: 220px;
    max-width: 260px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 0.95rem;
}

.category-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

category-card-b {
    display: flex;
    flex: 2;
    flex-direction: column
}

.category-card:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    color: #e0e0e0;
}

.read-status {
    margin-bottom: 8px;
    font-size: 0.8rem;
    padding: 0.15em 0.7em;
    border-radius: 999px;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.9);
    color: #dc2626;
    border: none;
    transition: background 0.2s, color 0.2s;
    text-align: center;
}

    .read-status.read {
        background: #43a047;
        color: #fff;
    }

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    color: aliceblue;
}

.category-card:nth-child(1) {
    background-color: brown;
}

.category-card:nth-child(2) {
    background-color: #1c85a8;
}

.category-card:nth-child(3) {
    background-color: #4eb54e;
}

.category-card:nth-child(4) {
    background-color: orange;
}


.i-agree {
    background-color: aliceblue;
}

.category-title,
.category-description {
    text-align: center;
    width: 100%;
    display: block;
}

.message {
    font-size: 16px;
    color: #555;
}

.error {
    color: #d32f2f;
    font-size: 16px;
}

.categories-container img {
    width: 100px;
}

.category-card.selected {
    border: 2px solid green;
    background-color: #e6ffe6;
}


.accept-policy {
    flex: 2; /* Take up 2/3 of the width */
    padding: 10px;
    border: solid 1px gray;
    overflow: hidden; /* Prevent overflow */
}

.card {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 2rem auto;
    max-width: 800px;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 1rem;
    text-align: right;
}

.question-container {
    margin-bottom: 2rem;
}

.options {
    margin-top: 1rem;
}

.option {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
    padding: 0.75rem;
}

    .option:hover {
        background-color: #f8f9fa;
    }

    .option label {
        cursor: pointer;
        display: inline-block;
        margin-left: 0.5rem;
        width: calc(100% - 2rem);
    }

.success-icon, .failure-icon {
    font-size: 4rem;
    margin: 1rem 0;
}

.success-icon {
    color: #28a745;
}

.failure-icon {
    color: #ffc107;
}
.cyc-status {
    display: inline-block;
    padding: 6px 12px;
    border: 2px solid #28a745; /* Green border */
    border-radius: 50px; /* Circle/oval shape */
    font-weight: bold;
    color: #28a745;
    text-align: center;
    min-width: 80px;
    text-transform: capitalize;
}

#download, #print {
    display: none !important;
}