/* Cyber Audit Manager - Public Questionnaire Styles */
body {
    background: #f5f5f5;
    font-family: 'Roboto', sans-serif;
}

.cam-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.cam-card {
    background: #fff;
    padding: 24px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
}

.cam-header {
    margin-bottom: 30px;
    border-left: 5px solid #3f51b5;
    padding-left: 20px;
}

.cam-header h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
    color: #333;
}

.cam-meta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media(min-width: 600px) {
    .cam-meta-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.cam-meta-item strong {
    display: block;
    color: #757575;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.cam-meta-item div {
    font-size: 14px;
    color: #333;
}

.cam-category-title {
    margin-top: 40px;
    margin-bottom: 10px;
    font-size: 18px;
    color: #3f51b5;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 5px;
}

.cam-question-card {
    transition: box-shadow 0.3s;
}

.cam-question-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.cam-q-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #212121;
}

.cam-q-desc {
    font-size: 13px;
    color: #616161;
    margin-bottom: 15px;
    font-style: italic;
}

.cam-input-group {
    margin-bottom: 15px;
}

/* Unified Radio Group */
.cam-radio-group {
    display: flex;
    flex-direction: row;
    /* Force row */
    gap: 20px;
    flex-wrap: wrap;
    /* align-items: center; */
}

/* Unified Label for all options */
.cam-radio-label {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    font-size: 14px;
    color: #424242;
    font-weight: normal;
    height: 24px;
    /* Fixed height to ensure uniformity */
    vertical-align: middle;
}

/* Strict Reset for Radio Input to cancel Theme Styles */
.cam-radio-label input[type="radio"] {
    margin: 0 8px 0 0 !important;
    /* Force margin */
    padding: 0 !important;
    vertical-align: middle !important;
    width: 16px !important;
    /* Fixed width */
    height: 16px !important;
    /* Fixed height */
    line-height: normal !important;
    display: inline-block !important;
}

.cam-radio-label span {
    vertical-align: middle;
    line-height: 24px;
    /* Match label height */
    display: inline-block;
}

/* Comment Box Styles */
.cam-comment-box-wrapper {
    margin-top: 15px;
}

.cam-comment-box-wrapper label {
    display: block;
    font-size: 12px;
    color: #757575;
    margin-bottom: 5px;
}

.cam-comment-textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #fafafa;
}

.cam-comment-textarea:focus {
    border-color: #3f51b5;
    outline: none;
    background: #fff;
}

/* Save Button */
.cam-save-btn {
    background-color: #60ccd4;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
    transition: background-color 0.3s, box-shadow 0.3s;
}

.cam-save-btn:hover {
    background-color: #303f9f;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.success-message {
    background: #4caf50;
    color: white;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}