/* 로그인 모달 전용 스타일 */

/* 모달 기본 스타일 */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: none;
    /*padding: 2rem 2rem 0;*/
}

.modal-body {
    padding: 2rem;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
}

/* 폼 요소 스타일 */
.form-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 0.5rem;
}

.form-control {
    height: 48px;
    border-radius: 8px;
    border: 2px solid #e1e1e1;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}

/* 체크박스 스타일 */
.form-check {
    margin: 1rem 0;
}

.form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.15em;
    border: 2px solid #e1e1e1;
    transition: all 0.2s ease;
}

.form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.form-check-label {
    font-size: 0.95rem;
    color: #666;
    margin-left: 0.5rem;
}

/* 버튼 스타일 */
.btn-primary {
    height: 48px;
    border-radius: 8px;
    background-color: #007bff;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

/* 구글 로그인 버튼 스타일 */
.gsi-material-button {
    height: 48px;
    border-radius: 8px !important;
    border: 2px solid #e1e1e1;
    background-color: #fff;
    transition: all 0.2s ease;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.gsi-material-button:hover {
    border-color: #007bff;
    background-color: #f8f9fa;
    text-decoration: none;
    color: #333;
}

.gsi-material-button-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.gsi-material-button-icon {
    width: 24px;
    height: 24px;
}

.gsi-material-button-contents {
    font-size: 1rem;
    font-weight: 500;
}

/* 구분선 스타일 */
.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 30px);
    height: 1px;
    background-color: #e1e1e1;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.divider span {
    background-color: #fff;
    padding: 0 1rem;
    color: #666;
    font-size: 0.95rem;
}

/* 링크 스타일 */
.login-links {
    margin-top: 1.5rem;
    text-align: center;
}

.login-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.login-links a:hover {
    color: #000;
    text-decoration: none;
}

.login-links a.fw-bolder {
    color: #000;
    font-weight: 600;
}

.login-links a.fw-bolder:hover {
    color: #000;
}

/* 반응형 조정 */
@media (max-width: 576px) {
    .modal-body {
        padding: 1.5rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .form-control,
    .btn-primary,
    .gsi-material-button {
        height: 44px;
    }
}