.page-title {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-title .main-title {
    color: #2673b4;
    font-weight: bold;
    font-size: 2rem;
}

.page-title .sub-title {
    font-size: .8rem;
    color: #4b5563;
}

.page-title .sub-title a {
    color: #2673b4;
}

.page-title .sub-title a:hover {
    color: #2673b4;
    text-decoration: underline;
    cursor: pointer;
}

.search-card {
    width: 80%;
    margin: 2rem auto;
    padding: 2rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    background-color: #ffffff;
    box-sizing: border-box;
}

.search-title {
    font-size: 1rem;
    font-weight: bold;
    color: #333333;
    margin-bottom: 0.75rem;
    display: block;
}

.search-title .required {
    color: red;
}

.search-input-group {
    display: flex;
    width: 100%;
    gap: 0.625rem;
}

.search-input {
    flex: 1;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    border: 0.0625rem solid #ccc;
    border-radius: 0.25rem;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease-in-out;
}

.search-input:focus {
    border-color: #315C8F;
}

.search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #315C8F;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: bold;
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.search-button:hover {
    background-color: #27476C;
}

.icon-img {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}


.result-row-3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-column-gap: .625rem;
    margin-bottom: 1.25rem;
}
.result-row-2{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-column-gap: .625rem;
    margin-bottom: 1.25rem;
}

.result-item {
    background-color: #F0F6FE;
    border: 0.0625rem solid #DEE9FC;
    border-radius: 0.5rem;
    padding: 1rem;
    box-sizing: border-box;
    width: 100%;
}
.final-text img,
.result-item img{
    max-width: 100%;
}
.result-title {
    font-size: 0.875rem;
    color: #333333;
    margin-bottom: 0.5rem;
}

.result-content {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000000;
}

.result-content-blue {
    color: #2673b4;
}

.divider {
    border: none;
    border-top: 0.0625rem solid #F2F3F5;
    margin: 0 0 1.25rem 0;
}

.final-text {
    text-align: left;
    background-color: #F0F6FE;
    border: 0.0625rem solid #DEE9FC;
    border-radius: 0.5rem;
    padding: 1rem;
    box-sizing: border-box;
    font-size: 1.2rem;
    font-weight: bold;
    color: #2673b4;
}

.not-found {
    background-color: #FCF2F2;
    border-radius: .625rem;
    color: #AA2E26;
    border: 1px solid #F6CCCB;
    padding:.8rem 1rem;
    text-align: center;
    width: 80%;
    margin: 1rem auto;
}

.content-tk{
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ff2e22;
}
.content-tk button{
    color: #fff;
    background-color: #dd1404;
}
.content-tk button:hover{
    color: #fff;
    background-color: #ff1100;
}

.message-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.message-box {
    background: white;
    border-radius: 8px;
    min-width: 300px;
    max-width: 50%;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.message-title {
    font-weight: bold;
    font-size: 16px;
}

.close-btn {
    cursor: pointer;
    font-size: 18px;
    color: #999;
    width: 20px;
    text-align: center;
}

.close-btn:hover {
    color: #666;
}

.message-content {
    padding: 20px;
    min-height: 60px;
    max-height: 60vh;
    overflow-y: auto;
    word-break: break-all;
}
.message-content img{
    max-width: 100%;
}

.message-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #eee;
}

.confirm-btn {
    padding: 8px 20px;
    background: #27476C;
    border: none;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.confirm-btn:hover {
    background: #66b1ff;
}
@media (max-width: 576px) {
    .page-title{
        align-items: center;
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    .search-card {
        width: 94%;
    }

    .search-input-group {
        flex-direction: column;
    }

    .search-input {
        width: 100%;
    }

    .search-button {
        width: 100%;
    }

    .result-row-3 {
        display: flex;
        flex-direction: column;
        row-gap: .625rem;
        margin-bottom: 1.25rem;
    }
    .result-row-2{
        display: flex;
        flex-direction: column;
        row-gap: .625rem;
        margin-bottom: 1.25rem;
    }
    .not-found {
        width: 94%;
    }
    .message-box {
        max-width: 80%;
    }

}
