* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: #fff;
    color: #333;
    font-size: 14px;
    padding-bottom: 80px;
}

header {
    background-color: #fff;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-icon {
    position: absolute;
    left: 16px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
}

header h1 {
    font-size: 17px;
    font-weight: 400;
}

.container {
    padding: 12px 16px;
}

.banner {
    margin-bottom: 12px;
}

.banner img {
    width: 100%;
}


.card {
    box-shadow: 0 .107rem .213rem rgba(63, 203, 146, .4);
    background: linear-gradient(180deg, #1faf7f, #3fcb92);
    border-radius: 6px;
    padding: 18px;
    color: white;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.card-top {
    display: flex;
    margin-bottom: 24px;
}

.photo-group {
    display: flex;
    gap: 12px;
    margin-right: 15px;
}

.photo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.photo {
    width: 47px;
    height: 62.5px;
    background-color: #eee;
    margin-bottom: 6px;
    border-radius: 4px;
}

.photo-label {
    font-size: 9px;
    opacity: 0.9;
}

.student-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 30px;
}

.name {
    font-size: 16px;
    margin-bottom: 2px;
}

.meta {
    font-size: 12px;
}

.school-info {
    margin-top: 5px;
}

.school-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.school-name {
    font-size: 19px;
}

.degree-tag {
    background: #1da36e;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.major-info {
    font-size: 13px;
    opacity: 0.95;
}

.divider {
    display: inline-block;
    margin: 0 8px;
}

.details-list {
    background: #fff;
    padding: 0 4px;
    margin-top: 8px;
}

.detail-item {
    display: flex;
    padding: 9.5px 0;
    font-size: 14px;
}

.detail-label {
    color: #999;
    width: 126px; /* Slightly wider */
    text-align: right;
    margin-right: 20px;
    flex-shrink: 0;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.detail-label[data-spacing="wide"] {
    letter-spacing: 1px; /* Not too wide */
    display: flex;
    justify-content: flex-end; /* Align right */
}
/* This trick handles the "justified" look if needed, but right align is simpler and often used */
/* If the image shows justified 2-char labels, we can use text-align-last: justify if we want */

.detail-value {
    color: #222;
    flex: 1;
    font-weight: 400;
    line-height: 1.2;
}

.footer-btn {
    width: 92%;
    margin: 0 auto;
    right: 16px;
    color: #fff;
    background-color: #26b887;
    border: 1px solid #26b887;
    text-align: center;
    padding: 10px 13px;
    font-size: 17px;
    cursor: pointer;
    z-index: 90;
    margin-top: 10px;
}
