/* 메인 컨테이너 */
.main-container {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 80%;
    margin: 0 auto;
}

.cards-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login-title {
    font-size: 24px;
    font-weight: 400;
    text-align: left;

    margin: 0;
    padding-left: 5px;
}

.login-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 60px;
    width: 100%;
    border: 1px solid #e0e0e0;
    display: flex;
    justify-content: center;
}

.login-form-wrapper {
    max-width: 300px;
    width: 100%;
}

.favorites-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    border: 1px solid #e0e0e0;
    position: relative;
}

.favorites-title {

    font-weight: 400;

    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.favorites-hint {
    color: #888;
    font-weight: 400;
    margin-left: 4px;
}

.favorites-empty {
    color: #888;
    padding: 12px 4px;
    text-align: left;
}

.favorite-form-error {
    color: var(--color-danger);
    margin-top: 4px;
}

.add-favorite-btn {
    background: none;
    border: 1px solid #ddd;

    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: all 0.2s;
}

.add-favorite-btn:hover {
    background-color: var(--color-bg-soft);
    border-color: #ccc;
}

.favorites-icons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.favorite-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;

    transition: color 0.2s;
    cursor: pointer;
}

.favorite-item:hover {

    transform: translateY(-1px);
}

.favorite-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.favorite-icon {
    position: relative;
    width: 40px;
    height: 40px;
    background-color: var(--color-bg-soft);
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 6px;
    transition: all 0.2s;
    overflow: hidden;
}

.favorite-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    background: transparent;
}

.favorite-icon img + .favorite-icon-fallback {
    display: none;
}

.favorite-icon-fallback {
    color: var(--color-secondary);
}

.favorite-item:hover .favorite-icon {
    background-color: var(--color-bg-disabled);
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.favorite-remove-btn {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #dc3545;
    background-color: #fff;
    color: #dc3545;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.favorite-item:hover .favorite-remove-btn {
    display: flex;
}

.favorite-remove-btn:hover {
    background-color: #dc3545;
    color: #fff;
}

.favorite-label {
    position: relative;
    max-width: 50px;
    min-width: 36px;
    white-space: nowrap;
    overflow: hidden;
    padding-right: 0;
    text-align: center;
    font-size: 12px;
}

.favorite-label.is-overflowing {
    padding-right: 10px;
}

.favorite-label.is-overflowing::after {
    content: '..';
    position: absolute;
    right: 0;
    top: 0;
    background: #fff;
}

.form-label {
    font-weight: 400;
    margin-bottom: 8px;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px 16px;

    transition: border-color 0.2s;
    background-color: #fafafa;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: none;
    background-color: white;
}

.btn-verify {
    background-color: var(--color-bg-soft);
    border: 1px solid #ddd;

    font-weight: 400;
    padding: 12px 20px;
    border-radius: 4px;
    transition: all 0.2s;

}

.btn-verify:hover {
    background-color: var(--color-bg-disabled);
    border-color: #ccc;
}

.btn-login {
    background-color: #343a40;
    border: 1px solid #343a40;

    font-weight: 400;
    padding: 14px;
    border-radius: 4px;

    width: 100%;
    transition: all 0.2s;
}

.btn-login:hover {
    background-color: #23272b;
    border-color: #1d2124;
}

.btn-login:disabled {
    background-color: #adb5bd;
    border-color: #adb5bd;
    opacity: 1;
}

.help-text {


    margin-top: 5px;
}

.verification-help {


    margin-top: 8px;
    text-align: center;
    font-weight: 400;
}

.alert {
    border-radius: 4px;

    border: 1px solid;
}

.input-group .btn {
    border-radius: 0 4px 4px 0;
}

.input-group .form-control {
    border-radius: 4px 0 0 4px;
}

.timer {

    font-weight: 400;

    margin-top: 5px;
}

/* 諛섏쓳�� */
@media (max-width: 768px) {
    .main-container {
        width: 95%;
        padding: 15px;
        justify-content: flex-start;
        min-height: auto;
    }

    .cards-wrapper {
        width: 100%;
    }

    .admin-header {
        padding: 0 15px;
    }

    .admin-title {
        margin-right: 15px;

    }

    .header-select,
    .current-page {

        padding: 4px 8px;
    }

    .cards-wrapper {
        width: 100%;
        padding: 0;
    }

    .login-card,
    .favorites-card {
        padding: 20px;
    }

    .login-title {
        font-size: 20px;
        text-align: center;
        margin-bottom: 15px;
    }

    .login-form-wrapper {
        margin-top: 0;
    }

    .favorites-icons {
        gap: 15px;
        justify-content: center;
    }
}
/* 硫붿씤 而⑦뀒�대꼫 */
.main-container {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 80%;
    margin: 0 auto;
}

.cards-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login-title {
    font-size: 24px;
    font-weight: 400;
    text-align: left;

    margin: 0;
    padding-left: 5px;
}

.login-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 60px;
    width: 100%;
    border: 1px solid #e0e0e0;
    display: flex;
    justify-content: center;
}

.login-form-wrapper {
    max-width: 300px;
    width: 100%;
}

.favorites-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    border: 1px solid #e0e0e0;
    position: relative;
}

.favorites-title {

    font-weight: 400;

    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-favorite-btn {
    background: none;
    border: 1px solid #ddd;

    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: all 0.2s;
}

.add-favorite-btn:hover {
    background-color: #f8f9fa;
    border-color: #ccc;
}

.frequent-sites-title {
    position: absolute;
    top: 20px;
    right: 20px;


    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
}



.login-banner-card {
    height: 100%;
}

.login-banner-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-pc-banner-slider .login-banner-card {
    height: 330px;
}

.login-mobile-banner-slider .login-banner-card {
    height: 180px;
}

.login-pc-banner-slider .slick-track,
.login-pc-banner-slider .slick-list,
.login-mobile-banner-slider .slick-track,
.login-mobile-banner-slider .slick-list {
    height: 100%;
}

.login-pc-banner-slider .slick-slide > div,
.login-mobile-banner-slider .slick-slide > div {
    height: 100%;
}

.login-pc-banner-slider .slick-dots,
.login-mobile-banner-slider .slick-dots {
    position: static;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.login-pc-banner-slider .slick-dots li,
.login-mobile-banner-slider .slick-dots li {
    width: auto;
    height: auto;
    margin: 0;
}

.login-pc-banner-slider .slick-dots button,
.login-mobile-banner-slider .slick-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d0d0d0;
    font-size: 0;
    line-height: 0;
}

.login-pc-banner-slider .slick-dots button:before,
.login-mobile-banner-slider .slick-dots button:before {
    content: none !important;
}

.login-pc-banner-slider .slick-dots .slick-active button,
.login-mobile-banner-slider .slick-dots .slick-active button {
    width: 18px;
    border-radius: 999px;
    background: #000;
}

.container {margin-bottom:21% !important;}

