* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f4f6f9;
    color: #333;
}

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

/* Header */
.top-header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.iiba-text {
    font-weight: 800;
    font-size: 24px;
    color: #004d66; /* dark teal */
    letter-spacing: -0.5px;
}

.logo-subtext {
    display: flex;
    flex-direction: column;
    font-size: 10px;
    line-height: 1.2;
    color: #004d66;
    font-weight: 500;
}

/* Main Content */
.main-content {
    padding: 40px 0 60px;
}

.certificate-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.sidebar {
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.thumbnail {
    width: 100%;
    background: #e0e0e0;
    padding: 10px;
    border-radius: 4px;
}

.thumb-cert {
    background: #fff;
    width: 100%;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.thumb-corner-tl {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: #cc6600;
    clip-path: polygon(100% 0, 100% 100%, 80% 100%, 80% 20%, 0 20%, 0 0);
}

.thumb-corner-br {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 30px;
    background: #00334d;
    clip-path: polygon(0 100%, 0 0, 20% 0, 20% 80%, 100% 80%, 100% 100%);
}

.thumb-logo {
    width: 30px;
    height: 8px;
    background: #004d66;
    margin: 15px auto;
}

.thumb-line {
    width: 60%;
    height: 2px;
    background: #ccc;
    margin: 30px auto 10px;
}

.thumb-seal {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: gold;
    position: absolute;
    bottom: 10px;
    left: 20px;
}

.cbap-badge {
    width: 80px;
    text-align: center;
    position: relative;
}

.cbap-badge.small {
    width: 60px;
    position: absolute;
    bottom: 40px;
    right: 60px;
}

.cbap-top {
    background: linear-gradient(to bottom, #d4af37, #aa8c2c);
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    padding: 5px 0;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
}

.cbap-badge.small .cbap-top { font-size: 10px; padding: 3px 0;}

.cbap-mid {
    background: #f0f0f0;
    color: #333;
    font-size: 8px;
    font-weight: bold;
    padding: 2px 0;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

.cbap-badge.small .cbap-mid { font-size: 6px; }

.cbap-bot {
    background: #cc6600;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    padding: 3px 0 6px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.cbap-badge.small .cbap-bot { font-size: 9px; }

/* Certificate */
.certificate-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.certificate {
    background: #fff;
    width: 100%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.corner {
    position: absolute;
    width: 150px;
    height: 150px;
}

.corner.top-right {
    top: 0;
    right: 0;
}

.corner.bottom-left {
    bottom: 0;
    left: 0;
}

.cert-header {
    margin-bottom: 30px;
    z-index: 1;
}

.logo.large .iiba-text {
    font-size: 36px;
}

.logo.large .logo-subtext {
    font-size: 14px;
}

.cert-title {
    font-size: 24px;
    color: #00334d;
    margin-bottom: 40px;
    text-align: center;
    z-index: 1;
}

.cert-body {
    text-align: center;
    z-index: 1;
    margin-bottom: 40px;
}

.small-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.small-text.bold {
    font-weight: 600;
    margin-top: 20px;
}

.recipient-name {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.credential-name {
    font-size: 22px;
    font-weight: 700;
    color: #00334d;
}

.cert-signatures {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    z-index: 1;
}

.signature-block {
    text-align: center;
}

.signature-block .line {
    width: 250px;
    height: 1px;
    background-color: #333;
    margin: 5px auto;
}

.signature-block p {
    font-size: 10px;
    color: #555;
}

.cert-footer {
    width: 100%;
    position: relative;
    height: 100px;
    z-index: 1;
}

.seal {
    position: absolute;
    left: 60px;
    bottom: 20px;
}

.gold-seal {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #f9d976 0%, #e8b923 100%);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px dashed #b8860b;
}

.seal-inner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid #b8860b;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #b8860b;
    font-size: 12px;
    opacity: 0.6;
}

.dates {
    position: absolute;
    left: 60px;
    bottom: -10px;
    display: flex;
    gap: 40px;
    font-size: 10px;
    color: #888;
}

.cert-id {
    position: absolute;
    right: 150px;
    bottom: -10px;
    font-size: 10px;
    color: #888;
}

/* Bottom Section */
.bottom-section {
    background-color: #fff;
    padding: 40px 0;
    border-top: 1px solid #eaeaea;
}

.footer-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.issuer-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.issuer-icon {
    position: relative;
    width: 32px;
    height: 32px;
    background: #00334d;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
}

.verified-check {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #1da1f2;
    color: #fff;
    width: 14px;
    height: 14px;
    font-size: 10px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.issuer-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 16px;
}

.issuer-link:hover {
    text-decoration: underline;
}

.external-link {
    font-size: 12px;
}

.footer-title {
    font-size: 22px;
    font-weight: 500;
    color: #333;
}

.footer-right {
    width: 350px;
}

.share-card {
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 20px;
    background: #fafafa;
}

.share-text h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #111;
}

.share-text p {
    font-size: 13px;
    color: #666;
}

.share-icon .medal {
    width: 40px;
    height: 40px;
    background: #e8b923;
    border-radius: 50%;
    position: relative;
}

.share-icon .medal::after, .share-icon .medal::before {
    content: '';
    position: absolute;
    bottom: -15px;
    width: 12px;
    height: 20px;
    background: #d4af37;
}

.share-icon .medal::after {
    left: 8px;
    transform: rotate(15deg);
}

.share-icon .medal::before {
    right: 8px;
    transform: rotate(-15deg);
}

/* Sub Actions */
.sub-actions {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}
.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: #444;
    display: flex;
    align-items: center;
    gap: 5px;
}
.action-btn .icon { font-weight: normal; font-size: 14px; }

/* Profile Section */
.profile-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 25px;
}
.avatar {
    width: 45px;
    height: 45px;
    background-color: #1a9e6b;
    border-radius: 50%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 14px;
}
.profile-name {
    font-size: 20px;
    color: #222;
}

/* Description Text */
.description-text {
    font-size: 13px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Skills Section */
.skills-section h3 {
    font-size: 15px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 500;
}
.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}
.tag {
    background-color: #f0f0f0;
    color: #444;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* Dates */
.dates-section {
    display: flex;
    gap: 80px;
    margin-bottom: 40px;
}
.date-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.date-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
}
.date-value {
    font-size: 14px;
    font-weight: 500;
    color: #222;
}

/* Job Insights */
.job-insights-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
}
.insights-desc {
    font-size: 13px;
    color: #444;
    margin-bottom: 15px;
}
.showing-results {
    font-size: 13px;
    color: #444;
    margin-bottom: 15px;
}
.personalize-link {
    color: #0066cc;
    text-decoration: none;
}
.job-table-card {
    border: 1px solid #eaeaea;
    border-radius: 6px;
    margin-bottom: 20px;
    overflow: hidden;
}
.job-table {
    width: 100%;
    border-collapse: collapse;
}
.job-table th {
    text-align: left;
    padding: 15px 20px;
    font-size: 11px;
    color: #666;
    background: #f9f9f9;
    border-bottom: 1px solid #eaeaea;
}
.job-table td {
    padding: 15px 20px;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
}
.active-row td { color: #222; }
.disabled-row td { color: #999; }
.view-link { color: #0022cc; text-decoration: none; font-weight: 500; }
.table-footer {
    background: #fafafa;
    padding: 12px 20px;
    font-size: 12px;
    color: #666;
    border-top: 1px solid #eaeaea;
}
.info-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 14px; height: 14px;
    border: 1px solid #999;
    border-radius: 50%;
    font-size: 9px;
    margin-right: 5px;
}

/* Personalized Banner */
.personalized-banner {
    display: flex;
    align-items: center;
    background-color: #eaf5f5;
    border: 1px solid #bce2e2;
    border-radius: 6px;
    padding: 15px 20px;
    gap: 15px;
}
.banner-icon-bg {
    background-color: #00a4a6;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: #fff; font-size: 20px; font-weight: bold;
}
.banner-text { flex: 1; }
.banner-text h4 { font-size: 14px; margin-bottom: 5px; color: #111; }
.banner-text p { font-size: 13px; color: #444; }
.sign-in-btn {
    padding: 8px 16px;
    border: 1px solid #0022cc;
    background: none;
    color: #0022cc;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

/* Right Cards General */
.right-card {
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* Social Buttons */
.social-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.social-btn {
    width: 35px; height: 35px;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    display: flex; justify-content: center; align-items: center;
}
.linkedin { background: #0077b5; }
.facebook { background: #3b5998; }
.x-twitter { background: #000; }
.whatsapp { background: #25d366; }
.more-options { background: #f0f0f0; color: #333; border: 1px solid #ccc; }

/* Next Steps */
.next-steps-title {
    display: flex;
    gap: 10px;
}
.next-steps-title h3 { font-size: 16px; margin-bottom: 3px; }
.next-steps-title p { font-size: 11px; color: #666; }
.next-steps-icon {
    width: 30px; height: 30px;
    background: #f0f0f0; border-radius: 4px;
    display: flex; justify-content: center; align-items: center;
}
.sparkles-icon { font-size: 18px; }
.next-steps-desc { font-size: 13px; color: #444; margin: 15px 0 20px; line-height: 1.4; }
.steps-list { margin-bottom: 25px; display: flex; flex-direction: column; align-items: center; }
.step-item {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 15px; border-radius: 4px;
    font-size: 14px; font-weight: 600;
    width: 100%;
}
.step-item.active { background: #f2f2f2; color: #111; }
.step-item.locked { background: #f5f5f5; color: #888; filter: blur(2px); opacity: 0.8; }
.step-connector { height: 12px; width: 1px; background-color: #ccc; margin: 0; }
.step-icon { flex-shrink: 0; }
.view-journey-btn {
    width: 100%; padding: 10px;
    border: 1px solid #0022cc; color: #0022cc; background: none;
    border-radius: 4px; font-weight: 500; cursor: pointer;
}

/* Verification */
.verification-card h3 { font-size: 16px; margin-bottom: 20px; color: #111; }
.verification-row {
    display: flex; align-items: center; gap: 8px; margin-bottom: 15px;
}
.verification-row p { font-size: 14px; color: #111; }
.blockchain-row {
    justify-content: space-between; margin-bottom: 25px;
}
.blockchain-left { display: flex; align-items: center; gap: 8px; }
.copy-id-btn { background: none; border: none; color: #444; font-size: 13px; cursor: pointer; display: flex; align-items: center; gap: 5px; }
.verify-btn {
    width: 100%; padding: 12px;
    border: 2px solid #009999; color: #4b4b9b; background-color: #eef1f5;
    border-radius: 6px; font-weight: 500; cursor: pointer;
    font-size: 14px;
}

/* More Issuer */
.more-issuer-card h3 { font-size: 16px; margin-bottom: 20px; }
.small-issuer { margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.issuer-icon-wrapper { position: relative; width: 40px; height: 40px; }
.b-icon-circle {
    width: 36px; height: 36px; background-color: #00334d; border-radius: 50%;
    color: white; display: flex; justify-content: center; align-items: center;
    font-weight: 900; font-size: 20px;
}
.verified-badge-small { position: absolute; top: -2px; right: -2px; background: white; border-radius: 50%; }
.issuer-name { font-size: 14px; color: #111; line-height: 1.4; }
.card-divider { border: none; border-bottom: 1px solid #eaeaea; margin: 15px 0; }
.outline-btn {
    width: 100%; padding: 12px;
    border: 1px solid #ddd; color: #4b4b9b; background: none;
    border-radius: 6px; font-weight: 500; cursor: pointer;
    display: flex; justify-content: center; align-items: center; gap: 8px;
    font-size: 14px;
}
.more-credentials { border-top: 1px solid #eaeaea; margin-top: 15px; padding-top: 15px; }
.more-credentials p { font-size: 12px; color: #666; margin-bottom: 5px; }
.view-all-link { font-size: 13px; color: #0066cc; text-decoration: none; font-weight: 500; }

/* Site Footer */
.site-footer {
    background-color: #fff;
    padding-top: 40px;
    padding-bottom: 60px;
}
.footer-top-line {
    width: 100%;
    height: 1px;
    background-color: #ddd;
    margin-bottom: 40px;
}
.site-footer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}
.footer-logos {
    display: flex;
    align-items: center;
    gap: 30px;
}
.accredible-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.powered-by {
    font-size: 10px;
    color: #666;
    margin-bottom: 2px;
}
.acc-brand {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #111;
}
.acc-icon {
    display: inline-block;
    width: 16px; height: 16px;
    background-color: #6040e0;
    color: white;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    line-height: 16px;
    border-radius: 2px;
}
.language-selector {
    font-size: 13px;
    color: #333;
    cursor: pointer;
}
.language-selector strong {
    font-weight: 500;
}
.arrow-down {
    font-size: 10px;
    margin-left: 5px;
}
.site-footer-links {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 80px;
    position: relative;
}
.links-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.links-column h4 {
    font-size: 14px;
    color: #111;
    margin-bottom: 5px;
    font-weight: 500;
}
.links-column a {
    color: #0066cc;
    text-decoration: none;
    font-size: 13px;
}
.links-column a:hover {
    text-decoration: underline;
}
.footer-legal {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}
.footer-legal a {
    color: #0066cc;
    text-decoration: none;
    font-size: 13px;
}
.footer-legal a:hover {
    text-decoration: underline;
}
