/*
Theme Name: AumCreate
Theme URI: https://aumcreate.com/
Author: Aum
Author URI: https://aumcreate.com/
Description: AumCreate - A custom WordPress theme for online learning
Version: 1.0
Text Domain: aumcreate
*/

/* =============================================
   CSS Reset - 清除默认样式
   ============================================= */

/* 1. 盒模型重置 */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 2. 去除默认边距 */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
dl,
dd,
ol,
ul,
figure,
hr,
fieldset,
legend {
    margin: 0;
    padding: 0;
}

/* 3. 去除列表样式 */
ol,
ul {
    list-style: none;
}

/* 4. 去除默认链接样式 */
a {
    text-decoration: none;
    color: inherit;
}

/* 5. 去除按钮默认样式 */
button,
input,
select,
textarea {
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* 6. 去除表单元素默认样式 */
input,
textarea,
select,
button {
    border-radius: 0;
    box-shadow: none;
}

/* 7. 去除图片默认间距和边框 */
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-style: none;
}

/* 8. 去除表格默认样式 */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* 9. 去除引用默认样式 */
blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

/* 10. 去除默认字体样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 11. 去除标题默认样式 */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 1em;
    font-weight: normal;
}

/* 12. 去除段落默认样式 */
p {
    margin-bottom: 0;
}


.aum-container {
    max-width: 1200px;
    margin: 80px auto;
}

/* Header Styles */
.site-header {
    color: #fff;
    background: #015792;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 999;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
}

.header-languages .header-container {
    padding: 20px 0;
    display: flex;
    color: #fff;
    justify-content: center;
    gap: 20px;
}

/* 顶部行样式 */
.header-top {
    padding: 15px 0;
    border-bottom: 1px solid #eeeeee1e;
}

.header-top .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding img {
    max-height: 50px;
    width: auto;
}

/* 导航菜单样式 */
.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin: 0 15px;
    position: relative;
}

.main-navigation a {
    text-decoration: none;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.3s ease;
}


/* 用户区域样式 */
.user-area {
    display: flex;
    align-items: center;
}

.user-profile .username {
    font-weight: 500;
    margin-right: 10px;
}

.user-profile .logout-link,
.login-register a {
    text-decoration: none;
    transition: color 0.3s ease;
}


.login-register .separator {
    margin: 0 5px;
}

/* 中间行样式 */
.header-middle {
    background: #014674;
    padding: 10px 0;
    text-align: center;
}

.certificate-title {
    font-size: 20px;
    font-weight: bold;
}

/* 底部行样式 */
.header-bottom {
    padding: 10px 0;
    text-align: center;
    background: #00426e;
}

.slogan {
    font-size: 16px;
}

.mobile-btn {
    display: none;
}

.slogan span {
    margin: 0 5px;
}

.slogan .separator {
    color: #999;
}

/* 学习侧边栏样式 */
.lesson-item .locked {
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}

.lesson-item .lock-icon {
    margin-left: 10px;
    color: #999;
}

.lesson-item .completed-icon {
    margin-left: 10px;
    color: #4CAF50;
}

.next-lesson-button.locked {
    cursor: not-allowed;
}

/* 禁用按钮样式 */
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #cccccc;
    color: #666666;
}

/* 已完成学习按钮样式 */
.btn.completed {
    background-color: #4CAF50;
    color: white;
}

/* 测试按钮容器 */
.quiz-materials {
    margin-top: 20px;
}

/* 已完成徽章 */
.completed-badge {
    background-color: #4CAF50;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 10px;
    vertical-align: middle;
}


/* 测试按钮样式 */
.quiz-redirect-container {
    margin-top: 20px;
    text-align: center;
}

.quiz-redirect-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.quiz-redirect-button:hover {
    background-color: #45a049;
}

/* 证书申请按钮样式 */
.certificate-apply-container {
    margin-top: 20px;
    text-align: center;
}

.certificate-apply-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.certificate-apply-button:hover {
    background-color: #45a049;
}

.quiz-completed {
    text-align: center;
    margin-top: 20px;
}

.quiz-completed p {
    font-size: 18px;
    margin-bottom: 15px;
    color: #4CAF50;
}

/* 添加在主题样式表中 */
.certificate-level-info {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.certificate-level-info h4 {
    margin-top: 0;
    color: #333;
}

.level-description {
    margin-bottom: 0;
    color: #666;
}


/* 响应式设计 */
@media screen and (max-width: 768px) {
    .header-top .header-container {
        flex-wrap: wrap;
    }

    .site-branding {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .certificate-title,
    .slogan {
        font-size: 14px;
    }

    .mobile-btn {
        display: flex;
        gap: 20px;
    }

    .mobile-btn .username {
        display: block;
    }

    .header-top>.header-container>.user-area,
    .site-header>.header-languages {
        display: none;
    }

    .main-navigation li {
        background: #ff9c00;
        padding: 3px 8px;
        border-radius: 5px;
        color: #000;
    }

    .main-navigation ul {
        display: flex;
        list-style: none;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        margin: 0;
        padding: 0;
    }

    .main-navigation li {
        margin: 0;
    }

    .site-branding>a {
        max-width: 100px;
    }
}

@media screen and (max-width: 480px) {

    .main-navigation {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .slogan .separator {
        display: none;
    }
}

/* Footer Styles */
.site-footer {
    background: #015792;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer-images {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-image img {
    max-height: 60px;
    width: auto;
}

.footer-text {
    font-size: 14px;
    line-height: 1.6;
}

.footer-text-line {
    margin-bottom: 10px;
}

.footer-text-line:last-child {
    margin-bottom: 0;
}



/* 学习中心样式 */
.learning-center-container {
    margin: 40px auto;
}

.learning-levels {
    margin-top: 40px;
}

.level-section {
    background: #f9f9f9;
    margin-bottom: 40px;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.level-section h2 {
    color: #2c3e50;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.learning-materials,
.quiz-materials {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 5px;
}

.learning-materials h3,
.quiz-materials h3 {
    color: #3498db;
    margin-top: 0;
}

.learning-materials .btn {
    display: inline-block;
    padding: 8px 15px;
    background: none;
    border: 1px solid #3498db;
    color: #3498db;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.learning-materials .btn:hover {
    color: #fff;
    background: #3498db;
}

.quiz-materials .btn {
    display: inline-block;
    padding: 8px 15px;
    background: #28a745;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.quiz-materials .btn:hover {
    color: #fff;
    background: #218838;
}

/* 学习资料分类页样式 */
.learning-container {
    width: 100%;
    margin: 40px auto;
    display: flex;
    gap: 30px;
}

.learning-sidebar {
    flex: 0 0 300px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
}

.learning-content {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.lesson-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lesson-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.lesson-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.lesson-item.active {
    background: #f0f7ff;
}

.lesson-link {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 8px;
    transition: all 0.3s;
}

.lesson-link:hover {
    background: #f0f7ff;
}

.english-title {
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
    font-style: italic;
}

.loading,
.error {
    padding: 20px;
    text-align: center;
    color: #666;
}

.lesson-article h1 {
    margin-top: 0;
    color: #2c3e50;
}

/* 答题界面样式 */
.quiz-header,
.learning-header,
.learning-center-header,
.certificate-header {
    border-radius: 10px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    height: 150px;
    color: #fff;
    background-color: #4a90e2;
}

.quiz-header-left h1,
.learning-header-left h1,
.learning-center-header-left h1,
.certificate-header-left h1 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.quiz-header-right img,
.learning-header-right img,
.learning-center-header-right img,
.certificate-header-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quiz-container {
    width: 100%;
    margin: 40px auto;
    padding: 20px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: Arial, sans-serif;
}

.quiz-item {
    margin-bottom: 30px;
}

.quiz-option {
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin: 15px 0;
    display: flex;
    align-items: center;
}

.quiz-option.selected {
    background-color: #1a73e81c;
    border-color: #1a73e8;
}

.quiz-option input[type="radio"],
.quiz-option input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    outline: none;
    cursor: pointer;
}

.quiz-option input[type="checkbox"] {
    border-radius: 4px;
}

.quiz-option input[type="radio"]:checked,
.quiz-option input[type="checkbox"]:checked {
    border-color: #4a90e2;
    background-color: #4a90e2;
}

.quiz-option input[type="radio"]:checked::after,
.quiz-option input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
}

.quiz-option input[type="checkbox"]:checked::after {
    content: "✓";
    font-size: 12px;
    color: white;
    background-color: transparent;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
}

.quiz-option label {
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

.submit-answer {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.submit-answer:hover {
    background-color: #3a7bc8;
}

.quiz-feedback {
    margin-top: 15px;
    padding: 10px 0;
    border-radius: 4px;
}

.quiz-feedback .correct {
    color: #4CAF50;
}

.quiz-feedback .incorrect {
    color: #F44336;
}

.quiz-feedback .error {
    color: #F44336;
}

.quiz-feedback .loading {
    color: #2196F3;
}

.english-title {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

/* 进度条样式 */
.quiz-progress-container,
.learning-progress-container,
.learning-center-progress-container {
    margin-top: 15px;
}

.quiz-progress-text,
.learning-progress-text,
.learning-center-progress-text {
    font-size: 14px;
    margin-bottom: 5px;
}

.quiz-progress-bar,
.learning-progress-bar,
.learning-center-progress-bar {
    width: 300px;
    height: 6px;
    background-color: #fff;
    border-radius: 3px;
    overflow: hidden;
}

.quiz-progress-fill,
.learning-progress-fill,
.learning-center-progress-fill {
    height: 100%;
    background-color: #006be7;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.next-quiz-button,
.next-lesson-container {
    display: block;
    width: fit-content;
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.next-lesson-container {
    background-color: #006be7;
}

.next-quiz-button:hover {
    background-color: #218838;
}


.next-lesson-container:hover {
    background-color: #015cc4;
}

.completed-badge {
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    margin-left: 10px;
    border-radius: 50px;
    background-color: #28a745;
}

/* 证书中心样式 */
.certificate-center {
    width: 100%;
    margin: 40px auto;
}

.certificate-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.category-card {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
    background: #fff;
}

.category-card.completed {
    border-color: #4CAF50;
    background: #f8fff8;
}

.category-card h2 {
    margin-top: 0;
    color: #333;
}

.certificate-actions {
    margin-top: 15px;
}

.btn-view-certificate {
    margin-bottom: 10px;
}

.btn-get-certificate,
.btn-view-certificate,
.btn-download-certificate {
    display: inline-block;
    padding: 8px 15px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-right: 10px;
    border: none;
    cursor: pointer;
}

.btn-get-certificate:hover,
.btn-view-certificate:hover,
.btn-download-certificate:hover {
    background: #45a049;
}

.not-completed {
    color: #888;
    font-style: italic;
}

/* 证书表单模态框 */
#certificate-form-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-form-container {
    background: white;
    padding: 20px;
    border-radius: 5px;
    width: 500px;
    max-width: 90%;
    overflow: auto;
    height: 80%;
}

.certificate-form-container h3 {
    margin-top: 0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-generate-certificate {
    background: #2196F3;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-generate-certificate:hover {
    background: #0b7dda;
}

/* 证书预览 */
#certificate-preview {
    margin-top: 30px;
    text-align: center;
}

.certificate-image {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

/* 证书预览模态框样式 */
#certificate-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-preview-container {
    background: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    position: relative;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
}

.certificate-preview-container .certificate-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

/* 证书操作按钮 */
.certificate-actions {
    margin-top: 15px;
}

.certificate-actions button {
    margin-right: 10px;
    padding: 8px 15px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.certificate-actions button:hover {
    background: #45a049;
}

/* 邮寄申请模态框 */
#physical-certificate-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-form-container {
    background: white;
    padding: 20px;
    border-radius: 5px;
    width: 500px;
    max-width: 90%;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-submit-request {
    background: #2196F3;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-submit-request:hover {
    background: #0b7dda;
}

.btn-view-requests {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 15px;
    font-size: 16px;
}

.btn-view-requests:hover {
    background-color: #45a049;
}

#requests-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.requests-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    border-radius: 5px;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: #aaa;
}

.requests-list table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.requests-list th,
.requests-list td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.requests-list th {
    background-color: #f2f2f2;
}

.requests-list tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* 证书查询页面样式 */
.certificate-search-header {
    border-radius: 10px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    height: 150px;
    color: #fff;
    background-color: #4a90e2;
    margin-bottom: 30px;
}

.certificate-search-header-left h1 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.certificate-search-header-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.certificate-search-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.certificate-search-form {
    margin-bottom: 30px;
}

.certificate-search-form .form-group {
    margin-bottom: 15px;
}

.certificate-search-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.certificate-search-form input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.btn-search-certificate {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-search-certificate:hover {
    background-color: #45a049;
}

.certificate-error {
    color: #f44336;
    padding: 15px;
    background: #ffebee;
    border-radius: 4px;
    margin-bottom: 20px;
}

.certificate-result {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.certificate-info {
    margin-bottom: 20px;
}

.certificate-info p {
    margin-bottom: 10px;
    font-size: 16px;
}

.certificate-preview {
    text-align: center;
    margin-top: 30px;
}

.certificate-image {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.certificate-actions {
    margin-top: 20px;
}

.btn-download-certificate {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2196F3;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-download-certificate:hover {
    background-color: #0b7dda;
}

.header-languages li {
    display: inline;
}

.header-languages a {
    text-decoration: none;
    padding: 3px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.header-languages a.current-lang {
    background-color: #333;
    color: #fff;
    border-color: #333;
}



@media (max-width: 768px) {
    .certificate-search-header {
        flex-direction: column;
        height: auto;
    }

    .certificate-search-header-right {
        margin-top: 20px;
    }

    .certificate-search-header-right img {
        max-height: 150px;
    }

    .aum-container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 768px) {
    .learning-container {
        flex-direction: column;
    }

    .learning-sidebar {
        flex: 1;
    }
}


/* 性别选择样式 */
.gender-selection {
    display: flex !important;
    gap: 20px;
    margin-top: 10px;
}

.gender-option {
    display: flex !important;
    align-items: center;
    cursor: pointer;
}

.gender-option input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
}

.gender-option span {
    font-size: 16px;
    color: #333;
}

/* 表单组间距调整 */
.form-group {
    margin-bottom: 20px;
}

.gender-option input[type="radio"]:checked {
    border-color: #2196f3 !important;
    background-color: #2196f3 !important;
}


/* 证书示例全屏模态框样式 */

.certificate-header-content img {
    height: 100%;
}

.certificate-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    overflow: auto;
    text-align: center;
}

.certificate-example-fullscreen {
    max-width: 90%;
    max-height: 90%;
    margin: 5% auto;
    display: block;
    border: 2px solid #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: #f1f1f1;
}

.certificate-example-image {
    transition: 0.3s;
    max-width: 100%;
    height: auto;
}

.certificate-example-image:hover {
    opacity: 0.7;
}