main{
    padding-top: 280px;
    margin-bottom: var(--space-foot);
}
.ivt-wrap{
    display: flex;
}
.inventory-box{
    flex: 3;
}
.myInventory h1{
    padding-bottom: var(--space-large);
}
.myInventory ul{
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}
.myInventory ul li:hover{
    font-weight: var(--fw-bold);
    color: var(--main-color);
}
.uProfile-box{
    flex: 9;
}
.uProfile-content1{
    height: 200px;
    display: flex;
    align-items: center;
    gap: var(--space-large);
    background-color: var(--cb-color-0);
    margin-bottom: var(--space-normal);
}
.uProfile-content1 img{
    width: 200px;
    height: 100%;
    object-fit: cover;
}
.uProfile-hello span{
    background-color: #CE9C4D;
    color: #fff;
    padding: var(--space-x-small);
    text-align: center;
    border-radius: .25rem;
}
.uProfile-hello h3{
    margin-top: var(--space-x-small);
    margin-bottom: var(--space-small);
}
.uProfile-content2{
    margin-bottom: var(--space-x-large);
}
.uProfile-content2 h1{
    color: var(--main-color);
}
.uProfile-content2 .icon-group{
    display: flex;
    gap: var(--space-normal);
}
.uProfile-content2 .icon-group li{
    flex: 1;
    border: 1px solid #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-small);
    padding: .75rem .45rem 1.35rem .45rem;
    box-sizing: border-box;
}
.uProfile-content2 .icon-group li>span{
    font-weight: var(--fw-bold);
}
.uProfile-content2 .icon-group li>div{
    display: flex;
    align-items: center;
    color: var(--main-color);
}
.uProfile-content2 .icon-group li>div>a{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-small);
    font-weight: var(--fw-med);
}
.uProfile-content3>h1 {
    margin-bottom: var(--space-large);
    margin-top: var(--space-3x-large);
}
.list-head{
    display: flex;
    gap: 1.25rem;
    margin-bottom: var(--space-large);
}
.list-head>li{
    flex: 1;
    border: 1px solid var(--main-color); 
    font-size: var(--fs-h4); 
    padding: 1.25rem 6.45rem;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;
}
.list-head>li.active{
    background: var(--main-color);
    color: #fff;
}
.tab-content{
    display: none;
}
.tab-content.active{
    display: block;
}
.rv-content{
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 3.3rem 2.65rem ;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
}
.rv-content>p{
    margin-top: var(--space-normal);
}
.rv-notice{
    margin-top: var(--space-large);
    color: #808080;
}
.rv-period-form {
    height: auto;
    background-color: #FBFBFB;
    border: 1px solid #808080;
    display: flex;
    align-items: center;
    padding: 1.75rem;
    margin-bottom: var(--space-large);
}
.period-group{
    display: flex;
    gap: var(--space-normal);
    align-items: center;
}
.period-buttons{
    display: flex;
    gap: 0;
}
.period-buttons button{
    box-sizing: border-box;
    height: 48px;
    background-color: #EEEEEE;
    border:1px solid #808080;
    color: #808080;
    padding: var(--space-small);
}
.period-buttons button.active{
    background-color: #fff;
    border:1px solid #000;
    color: #000;
}
.date-range{
    display: flex;
    gap: var(--space-small);
    align-items: center;
}
.date-range input{
    box-sizing: border-box;
    height: 48px;
    border: 1px solid #808080;
    padding: var(--space-small);
    font-size: var(--fs-bd2);
}
.btn-search{
    box-sizing: border-box;
    height: 48px;
    width: 93px;
    background-color: var(--main-color);
    color: #fff;
    padding: var(--space-small);
    text-align: center;
}
.p-g1{
    display: flex;
    gap: var(--space-normal);
}
.p-g2 {
    display: flex;
    gap: var(--space-normal);
}




/* ---------------- */
/* 반응형 대응 코드 */
@media (max-width: 1440px){
    main {
        padding-top: var(--space-3x-large);
    }
    .list-head>li {
        padding: 1rem 0.5rem;
    }
    .rv-period-form {
        height: auto;
        padding: 1rem;
    }
    .period-group {
        align-items: flex-start;
    }
    .p-g1{
        flex-direction: column;
    }
}


@media (max-width: 1000px){
    .period-buttons button {
        padding: var(--space-x-small);
    }
    .rv-period-form {
        padding-left: 1rem;
    }
    .period-group{
        align-items: flex-start;
    }
}




@media (max-width: 768px){
    .ivt-wrap {
        flex-direction: column;
    }
    .inventory-box {
        margin-bottom: var(--space-large);
        width: 100%;
    }
    .myInventory ul {
        flex-direction: initial;
        gap: 0;
    }
    .myInventory h1 {
        text-align: center;
    }
    .myInventory ul li{
        border: 1px solid #000;
        border-radius: 1rem;
        padding: 5px 10px;
    }
    .swiper.myInventory-swiper{
        top: 0;
    }
    .myInventory-swiper .swiper-slide {
        width: auto;
    }
    .myInventory ul li.selected {
        color: var(--main-color);
        font-weight: var(--fw-bold);
        background-color: var(--cb-color-0);
        border-color: var(--main-color);
    }
    .uProfile-box {
        width: 100%;
    }
    .uProfile-content1 {
        flex-direction: column;
        height: auto;
        text-align: center;
    }
    
}




@media (max-width: 500px){
    .uProfile-content2 .icon-group {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: var(--space-normal);
    }
    .uProfile-content2 .icon-group li:last-child{
        grid-column: span 2;
    }
    .list-head {
        gap:  var(--space-x-small);
    }
    .period-group{
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    .period-buttons{
        width: 100%;
    }
    .period-buttons button{
        height: auto;
    }
    .p-g2 {
        flex-direction: column;
    }
    .date-range{
        display: flex;
        width: 100%;
        align-items: center;
    }
    .date-range input{
        width: 0;
        min-width: 0;
        flex: 1;
        height: auto;
        box-sizing: border-box;
    }
    .date-separator{
        flex: 0 0 auto;
    }
    .btn-search{
        width: 100%;
        height: auto;
    }
    .date-range {
        gap: var(--space-x-small);
    }
    .date-range input {
        padding: var(--space-x-small);
    }
}



