* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif
}

body {
    margin: 0;
    background: #eef3f9;
    padding: 40px;
    color: #333
}

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

.hero {
    max-width: 520px;
    margin: 0 auto 40px auto;
    background: #fff;
    padding: 40px 35px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center
}

.hero-logo img {
    max-width: 100px;
    margin-bottom: 25px
}

.search-box {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #b5cbe6;
    background: #fff
}

.search-box input {
    flex: 1;
    padding: 14px;
    font-size: 16px;
    border: none;
    outline: none;
    background: transparent
}

.search-box button {
    padding: 0 26px;
    border: none;
    font-size: 16px;
    background: #1e5fa3;
    color: white;
    cursor: pointer
}

.hero-note{
    margin-top:12px;
    display:flex;
    align-items:center;
    gap:10px;
    width:100%;
    padding:12px 14px;
    font-size:13px;
    color:#6b85a6;
    border:1px solid #b5cbe6;
    border-radius:4px;
    background:#f7fafd;
}

.hero-note .info-icon{
    width:18px;
    height:18px;
    border-radius:50%;
    border:1px solid #6b85a6;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    font-weight:bold;
    flex-shrink:0;
}

.back-link {
    color: #1e5fa3;
    cursor: pointer;
    margin-bottom: 15px;
    display: inline-block;
    font-weight: normal
}

.header {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #000;
    border-bottom: 2px solid #dbe6f3;
    padding-bottom: 6px
}

.content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px
}

.diploma-panel {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1)
}

.diploma-skeleton {
    width: 100%;
    height: 520px;
    border-radius: 6px;
    border: 2px dashed #b5cbe6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b85a6;
    font-size: 16px;
    font-weight: bold;
    background: #eef3f9
}

#diplomaPreview {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15)
}

.info-panel {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column
}

.info-title {
    font-size: 18px;
    font-weight: bold;
    color: #1e5fa3;
    border-bottom: 2px solid #dbe6f3;
    padding-bottom: 6px;
    margin-bottom: 18px
}

.info-row {
    margin-bottom: 14px
}

.info-label {
    color: #4a6fa5;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 2px
}

.info-value {
    font-size: 14px;
    color: #333;
    word-break: break-word
}

.info-row:nth-of-type(1) .info-value {
    font-size: 17px;
    font-weight: normal
}

.info-row:nth-of-type(2) .info-value {
    font-size: 15px;
    font-weight: normal
}

.uuid {
    font-family: "Courier New", monospace;
    font-size: 13px;
    background: #eef3f9;
    padding: 6px 8px;
    border-radius: 4px;
    border: 1px solid #b5cbe6
}

.status-valid {
    margin-top: 20px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    background: #e6f4ea;
    color: #1b7f3a;
    border: 1px solid #9fd6b2;
    text-align: center
}

.issuer {
    margin-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #6b85a6
}

.issuer img {
    margin-top: 10px;
    max-width: 90px;
    display: block;
    margin-left: auto;
    margin-right: auto
}

.hidden {
    display: none
}

.fade-enter {
    opacity: 0;
    transform: translateY(20px)
}

.fade-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .35s ease, transform .35s ease
}

.fade-exit {
    opacity: 1;
    transform: translateY(0)
}

.fade-exit-active {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity .25s ease, transform .25s ease
}

@media (max-width: 900px) {
    .content {
        grid-template-columns: 1fr
    }
}

@media (max-width: 600px) {
    .search-box {
        border: none;
        background: none;
        display: block
    }

    .search-box input {
        display: block;
        width: 100%;
        border: 1px solid #b5cbe6;
        border-radius: 4px;
        background: #fff;
        margin-bottom: 14px
    }

    .search-box button {
        display: block;
        width: 100%;
        padding: 14px;
        border-radius: 4px
    }
}