@font-face {
    font-family: 'Karbon';
    src: url('../fonts/Karbon-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Karbon';
    src: url('../fonts/Karbon-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Karbon';
    src: url('../fonts/Karbon-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Karbon';
    src: url('../fonts/Karbon-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Karbon';
    src: url('../fonts/Karbon-RegularItalic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}

/* 声明本地字体 */
@font-face {
    font-family: 'Cinzel';
    src: url('./fonts/Cinzel-VariableFont_wght.ttf') format('truetype');
    font-weight: 700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Karbon', Arial, Helvetica, sans-serif;
    color: #333;
    background-color: #f5f5f5;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    background-color: #fff;
}

/* Header / Logo */
.header {
    text-align: center;
    background-color: #fff;
}

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

.logo-icon-img {
    height: 90px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text .oncology {
    color: #003366;
    font-size: 24px;
    font-weight: bold;
}

.logo-text .lens {
    color: #FF6600;
    font-size: 24px;
    font-weight: bold;
    margin-left: 15px;
}

/* Blue Banner */
.banner {
    background-color: #003366;
    padding: 30px 60px 40px;
}

.banner-now {
    color: #fff;
    font-size: 42px;
    font-weight: bold;
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

.banner-detail {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.banner-detail .orange-bar {
    width: 5px;
    min-height: 60px;
    background-color: #FF6600;
    flex-shrink: 0;
    margin-right: 20px;
    align-self: stretch;
}

.banner-detail .banner-text .banner-title {
    color: #fff;
    font-size: 25px;
    line-height: 1.4;
}

.banner-detail .banner-text .citation {
    color: #fff;
    font-size: 13px;
    font-weight: normal;
}

.banner-citation {
    color: #fff;
    font-size: 12px;
    font-weight: normal;
    margin-top: 15px;
}

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

.journal-cover {
    flex: 0 0 280px;
}

.journal-cover img {
    width: 100%;
    height: auto;
    /* border: 2px solid #000; */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
}

.cover-placeholder .esmo-logo {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.cover-placeholder .journal-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.cover-placeholder .molecule {
    font-size: 60px;
    opacity: 0.3;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.cover-placeholder .springer {
    font-size: 12px;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: 3px;
}

.article-info {
    flex: 1;
}

.article-info .article-title {
    font-size: 23px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.5;
}

.article-info .authors {
    font-size: 15px;
    color: #555;
    margin-bottom: 12px;
    line-height: 1.6;
    padding-bottom: 14px;
    border-bottom: 1px solid #e0e0e0;
}

.article-info .access-note {
    font-size: 13px;
    color: #555;
    line-height: 1.8;
    font-style: italic;
}

.article-info .access-note a {
    color: #003366;
    text-decoration: underline;
}

/* Divider */
.divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 0 60px;
}

/* Form Section */
.form-section {
    display: flex;
    padding: 40px 60px;
    gap: 60px;
}

.confirmation-text {
    flex: 1;
    border-right: 1px solid #e0e0e0;
    padding-right: 25px;
}

.confirmation-text h3 {
    font-size: 20px;
    font-weight: normal;
    color: #333;
    margin-bottom: 15px;
}

.confirmation-text ul {
    list-style: none;
    padding: 0;
}

.confirmation-text ul li {
    font-size: 18px;
    color: #555;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.confirmation-text ul li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: #555;
}

.form-area {
    flex: 1;
}

.form-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.form-group label .required {
    color: #FF0000;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    max-width: 500px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    background-color: rgb(242, 243, 243);
    font-size: 14px;
    color: #333;
    border-radius: 3px;
    outline: none;
    transition: border-color 0.3s;
    height: 50px
}

.form-group input::placeholder {
    color: rgb(136, 138, 141) !important;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus {
    border-color: #003366;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #003366;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 13px;
    color: #333;
    cursor: pointer;
}

.checkbox-group label a {
    color: #003366;
    text-decoration: underline;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(180deg, #0242b6 0%, #012360 100%);
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.3s;
}

.download-btn:hover {
    background: linear-gradient(180deg, #0242b6 100%, #012360 0%);
}

.download-btn svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.download-btn:disabled {
    background: #999;
    cursor: not-allowed;
}

.required-note {
    font-size: 12px;
    color: #FF0000;
    margin-top: 10px;
}

/* Download Result */
.download-result {
    margin-top: 20px;
    padding: 20px;
    background: #f0f7f0;
    border: 1px solid #c8e6c8;
    border-radius: 6px;
    display: none;
}

.download-result.show {
    display: block;
}

.download-result h4 {
    color: #2e7d32;
    margin-bottom: 10px;
}

.download-result .expiry-note {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
}

.download-result .download-link {
    display: inline-block;
    background: #003366;
    color: #fff;
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: background 0.3s;
}

.download-result .download-link:hover {
    background: #004080;
}

/* Error */
.error-message {
    margin-top: 15px;
    padding: 12px 16px;
    background: #fff0f0;
    border: 1px solid #ffcccc;
    border-radius: 4px;
    color: #cc0000;
    font-size: 13px;
    display: none;
}

.error-message.show {
    display: block;
}

/* Loading */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Footer */
.footer {
    background-color: #f9f9f9;
    padding: 30px 60px 25px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
}

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

.footer-logo .daiichi-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #003366, #FF6600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
}

.footer-logo .az-icon {
    width: 40px;
    height: 40px;
    background-color: #FF6600;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
}

.footer-logo-text {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.footer-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-divider {
    width: 1px;
    height: 40px;
    background-color: #ccc;
}

.approval-code {
    font-size: 15px;
    /* color: #999; */
}

.required-tips {
    font-size: 13px;
    color: red;
    text-align: right;
    cursor: pointer;
    max-width: 500px;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .banner {
        padding: 25px 20px 30px;
    }

    .banner-now {
        font-size: 30px;
    }

    .banner-detail .banner-text .banner-title {
        font-size: 17px;
    }

    .main-content {
        flex-direction: column;
        padding: 30px 20px;
    }



    .form-section {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"] {
        max-width: 100%;
    }

    .footer {
        padding: 20px;
    }

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

    .footer-divider {
        width: 40px;
        height: 1px;
    }
}


.form-group {
    position: relative;
}

/* 模拟占位文字，文字和红星并排紧贴 */
.fake-placeholder {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    display: flex;
    gap: 4px;
    font-style: italic;
}

.fake-star {
    color: red;
}

/* 输入框有内容时隐藏模拟占位 */
.form-group input:not(:placeholder-shown)+.fake-placeholder {
    display: none;
}