.login-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 60px 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.login-container *, .modal-content * {word-break: keep-all;}

.login-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 2.5rem;
    font-weight: bold;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #b1b1b1;
    font-weight: 500;
	font-size:1rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
}

/* 비밀번호 입력 래퍼 */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.password-toggle:hover {
    opacity: 0.7;
}

.eye-icon {
    font-size: 20px;
    color: #6c757d;
    transition: color 0.3s;
    user-select: none;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.password-toggle.active .eye-icon {
    color: #007bff;
}

.checkbox-group {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    transform: scale(1.2);
}

.checkbox-group label {
    margin-bottom: 0;
    cursor: pointer;
    user-select: none;
}

.login-btn {
    width: 100%;
    padding: 20px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.14rem;
    font-weight: 600;
    cursor: pointer;
	height:initial;
    transition: background 0.3s;
}

.login-btn:hover {
    background: #0056b3;
}

.login-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.alert {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 6px;
    display: none;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.loading {
    display: none;
    text-align: center;
    margin: 20px 0;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.debug-info {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 12px;
}

.debug-info h3 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 16px;
}

.debug-info pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    max-height: 300px;
    overflow-y: auto;
}

/* 하단 섹션 스타일 */
.bottom-section {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* 체크박스 그룹 스타일 수정 */
.checkbox-group {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.checkbox-group label {
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 링크 그룹 스타일 */
.link-group {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
    align-items: center;
}

.text-link {
    color: #555;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s;
}

.text-link:hover {
    color: #007bff;
    text-decoration: none;
}

/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: #fff;
    margin: 0 auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #333;
}

.modal-body {
    padding: 25px;
    line-height: 1.6;
    color: #555;
}

.modal-body p {
    margin: 0 0 15px 0;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

.modal-footer {
    display: flex;
    gap: 10px;
    padding: 20px 25px;
    border-top: 1px solid #e9ecef;
    justify-content: flex-end;
}

.modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.cancel-btn {
    background: #6c757d;
    color: white;
}

.cancel-btn:hover {
    background: #545b62;
}

.primary-btn {
    background: #007bff;
    color: white;
}

.primary-btn:hover {
    background: #0056b3;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}



/* 안내 문구 스타일 */
.info-notice {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

.info-notice2 {
	margin:15px 0 0 0;
	text-align:right;
	font-size:0.9rem;
}
.info-notice2 a {color:#555; font-weight:500;}

.info-notice p {
    margin: 0 0 8px 0;
}

.info-notice p:last-child {
    margin-bottom: 0;
}

.platform-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

/* 모바일 대응 */
@media (max-width: 480px) {
    .bottom-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .link-group {
        width: 100%;
        justify-content: space-between;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .info-notice {
        font-size: 0.85rem;
        padding: 12px;
    }
}