body {
    display: flex;
}

#diary-visual {
    background: url("../../images/diary-visual.png") no-repeat right 200px bottom 0;
}

.diary-container{
    margin-left: 400px;

}

.sidebar .logo img {
    width: 167px;
    height: 95px;
    margin-top: 6px;
    margin-left: 45px;
    margin-bottom: 10px;

}

/*.sidebar li:hover {*/
/*    cursor: pointer;*/
/*    transition: background-color 0.3s ease;*/
/*    color: black;*/
/*    background-color: white;*/

/*    border-radius: 8px;*/
/*}*/


.list-box {
    /*padding: 50px 0;*/
    width: 1200px;
}

.list-box .list.type02 {
    display: flex;
    /* justify-content: space-between; */
    flex-wrap: wrap;
    gap: 15px;
}

.list-box .list.type02 li {
    width: calc(24% - 10px);
    padding: 15px;
    background-color: #fff;
    margin-bottom: 10px;
    border-radius: 20px;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.05);
    flex-direction: column;
    height: 320px;
}

.list-box .list.type02 li .img-box img {
    height: 220px;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 10px;
}

.list-box .list.type02 li .desc {
    padding-top: 15px;
}

.list-box .list.type02 li .desc .title {
    font-size:17px;
    font-weight: 500;
    margin-bottom: 2px;
}

.list-box .list.type02 li .desc .name {
    color: #f8a92b;
    font-size: 24px;
    font-weight: 700;
}

.no-diary {
    margin-top: 240px;
    margin-left: 355px;
    font-size: 50px;
    font-weight: bolder;
}

.diary-btn {
    height: 60px;
    margin-right: 15px;
}

.nodiary-btn {
    height: 60px;
    margin-right: 590px;
}

.nbt {
    height: 300px;
}

.pet-info select {
    width: 150px;
    padding: 8px 10px;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    background-color: #ffffff;
    border: 2px solid #f3b13c;
    border-radius: 20px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23333' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
    cursor: pointer;
    transition: all 0.3s;

}

.pet-info {
    margin-top: 40px;
}

.btn-logout {
    font-size: 20px;
    width: 160px !important;
    margin-top: 525px;
    font-weight: 500;
}

.diary-title {
    text-align: left;
    margin-top: 25px;
    height: 175px;
}

.diary-title p {
    font-size: 60px;
    font-weight: bold;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 1px;
}

.diary-title p::after {
    content: "";
    position: absolute;
    width: 80%;
    height: 4px;
    background-color: #ffc107;
    bottom: 0;
    left: 9%;
    border-radius: 2px;
}

.pagination-wrap {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
}

.pagination-wrap button {
    border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination-wrap button:hover {
    background-color: #f1f1f1;
}

.pagination-wrap button.active {
    background-color: #ffc107;
    color: #fff;
    font-weight: bold;
}
