body {
    font-family: "PingFang SC", "Helvetica Neue", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
    background-color: #f7f8fa;
    margin: 0;
    padding: 0;
    color: #323233;
    font-size: 14px;
}

.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background-color: #f7f8fa;
}

header {
    background-color: #fff;
    color: #323233;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid #ebedf0;
}

header h1 {
    margin: 0;
    font-size: 1.2em;
    text-align: center;
    flex-grow: 1;
}

.back-arrow {
    color: #333;
    text-decoration: none;
    font-size: 1.5em;
    position: absolute;
    left: 15px;
}

main {
    padding: 60px 16px 16px; /* Add top padding to account for fixed header */
}

.card-section {
    margin-bottom: 20px;
}

.certificate-card {
    background-color: #4a90e2;
    color: white;
    padding: 0;
    border-radius: 8px;
    height: 80px; /* Set a fixed height */
    background-image: url('789.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.certificate-card h2 {
    margin: 0 0 10px 0;
}

.certificate-card p {
    margin: 0;
    font-size: 0.9em;
}

.image-code-section {
    margin-bottom: 20px;
}

.jd-res-div {
    background-color: #fff;
    border-radius: 25px;
    padding: 12px 16px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);
    position: relative;
    margin-bottom: 20px;
}

.flex-box {
    display: flex;
    align-items: center;
}

.flex1 {
    flex: 1;
    display: flex;
    align-items: center;
}

.jd-res-div .icon {
    margin-right: 8px;
}

.arrow-right {
    color: #969799;
}

.sanjiao {
    position: absolute;
    bottom: -10px;
    left: 30%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

.student-info-card {
    background-color: #25b887;
    color: white;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.photos {
    display: flex;
}

.photo-container {
    text-align: center;
    margin-right: 15px;
}

.photo-container img {
    width: 60px;
    height: 80px;
    object-fit: cover; /* This ensures the image covers the area without distortion */
    border-radius: 8px;
    display: block;
    margin-bottom: 5px;
    background-color: #e9e9e9; /* Added a background for better placeholder visibility */
}

.photo-container span {
    font-size: 0.8em;
}

.name-details h2 {
    margin: 0 0 5px 0;
    font-size: 1.2em;
}

.name-details p {
    margin: 0;
    font-size: 0.9em;
}

.school-details {
    position: relative;
}

.school-details h3 {
    margin: 0 0 5px 0;
}

.school-details p {
    margin: 0;
}

.school-details .tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 0.8em;
}

.details-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);
}

.details-list li {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95em;
}

.details-list li span:first-child {
    color: #888;
    width: 110px;
    flex-shrink: 0;
}

.details-list li span:last-child {
    color: #333;
    word-break: break-all;
}

.action-button {
    padding: 20px 0;
}

.action-button button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 25px;
    background-color: #25b887;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 12px 0 rgba(37, 184, 135, 0.5);
}