.ataa-certificate.template-modern {
    position: relative;
    display: flex;
    background: #ffffff;
    min-height: 550px;
    border: 1px solid #e2e8f0;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    overflow: hidden;
}

/* Graphic Geometric Accents */
.ataa-certificate.template-modern .ataa-modern-top-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 8px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.ataa-certificate.template-modern .ataa-modern-sidebar {
    width: 24px;
    background-color: var(--primary-color);
    position: relative;
    flex-shrink: 0;
}

.ataa-certificate.template-modern .ataa-modern-stripe {
    width: 8px;
    background-color: var(--secondary-color);
    height: 100%;
    position: absolute;
    left: 24px;
}

/* Watermark Overlay */
.ataa-certificate.template-modern .ataa-watermark {
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background-image: var(--watermark-url);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
}

.ataa-certificate.template-modern .modern-content {
    position: relative;
    z-index: 2;
    flex-grow: 1;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ataa-certificate.template-modern .ataa-modern-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.ataa-certificate.template-modern .ataa-cert-number-badge {
    background: #f1f5f9;
    color: var(--primary-color);
    border: 1px solid #cbd5e1;
    padding: 5px 14px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.ataa-certificate.template-modern .ataa-cert-title {
    color: var(--primary-color);
    font-size: var(--title-size);
    margin: 0 0 8px 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.ataa-certificate.template-modern .ataa-cert-subtitle {
    font-size: 12px;
    color: #64748b;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.ataa-certificate.template-modern .ataa-student-name {
    color: var(--secondary-color);
    font-size: var(--name-size);
    margin: 0 0 12px 0;
    font-weight: 700;
}

.ataa-certificate.template-modern .ataa-cert-body {
    font-size: var(--body-size);
    color: #475569;
    line-height: 1.6;
    max-width: 650px;
}

.ataa-certificate.template-modern .ataa-course-name {
    color: var(--primary-color);
    font-size: 24px;
    margin: 12px 0 18px 0;
    font-weight: 700;
}

.ataa-certificate.template-modern .ataa-cert-dates {
    font-size: var(--body-size);
    color: #64748b;
}

.ataa-certificate.template-modern .modern-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid #e2e8f0;
    padding-top: 15px;
    margin-top: 20px;
}

.ataa-certificate.template-modern .signature-box {
    text-align: center;
}

.ataa-certificate.template-modern .ataa-line {
    width: 160px;
    height: 1px;
    background: #cbd5e1;
    margin: 6px 0;
}

.ataa-certificate.template-modern .signature-box label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}