
/* 기본 카드 스타일 */
.row-main-card {
    transition: all 0.3s ease;
    cursor: pointer; /* 마우스 커서 손가락 모양 */
}

/* hover시 */
.row-main-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    background-color: #f7faff; /* 살짝 밝은 배경으로 */
}

/* 클릭(press)할 때 */
.row-main-card:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.phone-auth-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.phone-auth-row {
    display: flex;
    align-items: center;
    width: 100%;
}

.phone-auth-row .form-control,
.phone-auth-row input,
.phone-auth-row textarea {
    flex: 1 1 260px;
    min-width: 220px;
    height: 52px;
    line-height: 1.4;
}

.phone-auth-btn {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
    border: none;
    padding: 12px 18px;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(66, 133, 244, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    white-space: normal;
    flex: 0 0 auto;
    margin-left: 12px;
    margin-right: 10px;
    min-width: 92px;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 12px;
    height: 52px;
    display: flex;
    align-items: center;
}

.phone-auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(66, 133, 244, 0.28);
}

.phone-auth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

.phone-auth-status {
    font-size: 13px;
    color: #64748b;
    min-height: 18px;
}

.phone-auth-status.status-success {
    color: #0f9d58;
}

.phone-auth-status.status-error {
    color: #d93025;
}

.phone-auth-status.status-info {
    color: #4285f4;
}
.car_card_button {
    cursor: pointer;
}
.car_card_button:disabled,
.car_card_button.is-disabled {
    opacity: 0.55;
    cursor: not-allowed !important;
    box-shadow: none !important;
    filter: grayscale(10%);
}
.hashtag {
    font-size: 1.4rem;
    background: #E7EFF7;
    color: #0077B6;
    padding: 6px 8px;
    border-radius: 12px;
}
#mobileCard {
    display: none;
}

.slide {
   /* layout */
   display: flex;
   flex-wrap: nowrap;
   /* 컨테이너의 내용물이 컨테이너 크기(width, height)를 넘어설 때 보이지 않도록 하기 위해 hidden을 준다. */
   overflow: hidden;

   /* position */
   /* slide_button의 position absolute가 컨테이너 안쪽에서 top, left, right offset이 적용될 수 있도록 relative를 준다. (기본값이 static인데, static인 경우 그 상위 컨테이너로 나가면서 현재 코드에선 html을 기준으로 offset을 적용시키기 때문) */
   position: relative;

   /* size */
   width: 100%;

   /* slide drag를 위해 DOM요소가 드래그로 선택되는것을 방지 */
   user-select: none;
}
.slide_item {
    /* layout */
    display: flex;
    align-items: center;
    justify-content: center;

    /* position - 버튼 클릭시 left offset값을 적용시키기 위해 */
    position: relative;
    left: 0px;

    /* size */
    width: 100%;
    height: 100px;
    /* flex item의 flex-shrink는 기본값이 1이므로 컨테이너 크기에 맞게 줄어드는데, 슬라이드를 구현할 것이므로 줄어들지 않도록 0을 준다. */
    flex-shrink: 0;

    /* transition */
    transition: left 0.15s;
}
.slide_button {
    /* layout */
    display: flex;
    justify-content: center;
    align-items: center;

    /* position */
    position: absolute;
    /* 버튼이 중앙에 위치하게 하기위해 계산 */
    top: calc(50% - 16px);

    /* size */
    width: 32px;
    height: 32px;

    /* style */
    border-radius: 100%;
    /*background-color: #cccc;*/
    cursor: pointer;
}

.slide_prev_button {
    left: 10px;
}
.slide_next_button {
    right: 10px;
}

/* 각 슬라이드가 변경되는 것을 시각적으로 확인하기 쉽도록 각 슬라이드별 색상 적용 */
.slide_item.item1 {
    /*background-color: darkgoldenrod;*/
}
.slide_item.item2 {
    /*background-color: aqua;*/
}

/* 페이지네이션 스타일 */
ul,
li {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.slide_pagination {
    /* layout */
    display: flex;
    gap: 5px;

    /* position */
    position: absolute;
    bottom: 0;
    /* left:50%, translateX(-50%)를 하면 가로 가운데로 위치시킬 수 있다. */
    left: 50%;
    transform: translateX(-50%);
}
.slide_pagination > li {
    /* 현재 슬라이드가 아닌 것은 투명도 부여 */
    color: #7fb5ff88;
    cursor: pointer;
    font-size: 25px;
}
.slide_pagination > li.active {
    /* 현재 슬라이드 색상은 투명도 없이 */
    color: #7fb5ff;
}

.slide_item_duplicate {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    left: 0px;
    width: 100%;
    /*height: 100px;*/
    flex-shrink: 0;
    transition: left 0.15s;
}

@media only screen and (max-width:768px) {
    #mobileCard {
        display: block;
        height: 44px;
    }
    .phone-auth-row {
        gap: 10px;
    }
    .phone-auth-btn {
        flex: 0 0 auto;
        margin-right: 8px;
    }
    .hashtag {
        font-size: 1.0rem;
        padding: 2px 4px;
        border-radius: 10px;
    }

}

@media only screen and (max-width:480px) {
    #mobileCard {
        display: block;
    }
    .phone-auth-row {
        flex-direction: row;
        align-items: center;
        width: 100%;
        gap: 8px;
    }
    .phone-auth-btn {
        width: auto;
        min-width: 92px;
        text-align: center;
        margin-left: 0;
        margin-right: 8px;
        margin-top: 0;
        margin-bottom: 8px;
        height: 44px;
        display: flex;
        align-items: center;
    }
    .phone-auth-row .form-control,
    .phone-auth-row input,
    .phone-auth-row textarea {
        flex: 1 1 auto;
        width: 100%;
        height: 44px;
    }
    .phone-auth-status {
        font-size: 12px;
    }
}

@media only screen and (max-width: 360px) {
    .phone-auth-row {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    .phone-auth-row .form-control,
    .phone-auth-row input,
    .phone-auth-row textarea {
        flex: 1 1 100%;
        min-width: 0;
        width: 100%;
    }
    .phone-auth-btn {
        width: 100%;
        min-width: 0;
        margin: 0;
        margin-bottom: 6px;
    }
}

@media only screen and (max-width:320px) {
    #mobileCard {
        display: block;
    }
}